Class: Parlez::Post
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Parlez::Post
- Defined in:
- app/models/parlez/post.rb
Instance Method Summary collapse
-
#permalink ⇒ Object
Instance Methods.
- #to_param ⇒ Object
Instance Method Details
#permalink ⇒ Object
Instance Methods
19 20 21 |
# File 'app/models/parlez/post.rb', line 19 def permalink 'Not yet implemented' end |
#to_param ⇒ Object
23 24 25 |
# File 'app/models/parlez/post.rb', line 23 def to_param "#{self.id}-#{self.slug}" end |