This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/models/link.rb

9 lines
151 B
Ruby

class Link < Item
key :url, String, :required => true
def link
ApplicationController.helpers.link_to(self.title, self.url)
end
end