Class: Parlez::Post

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/parlez/post.rb

Instance Method Summary collapse

Instance Method Details

Instance Methods



19
20
21
# File 'app/models/parlez/post.rb', line 19

def permalink
  'Not yet implemented'
end

#to_paramObject



23
24
25
# File 'app/models/parlez/post.rb', line 23

def to_param
  "#{self.id}-#{self.slug}"
end