Class: Wacky::Page
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Wacky::Page
- Defined in:
- app/models/wacky/page.rb
Instance Method Summary collapse
Instance Method Details
#to_html ⇒ Object
7 8 9 |
# File 'app/models/wacky/page.rb', line 7 def to_html markdown_parser.render(body) end |
#to_param ⇒ Object
11 12 13 |
# File 'app/models/wacky/page.rb', line 11 def to_param slug end |