raven/lib/models/license.rb

10 lines
124 B
Ruby

class License < Sequel::Model
one_to_many :license_comments
def getLink()
return "/license/#{self.id}"
end
end