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
6 7 8 |
# File 'app/models/wacky/page.rb', line 6 def to_html markdown_parser.render(body) end |
#to_param ⇒ Object
10 11 12 |
# File 'app/models/wacky/page.rb', line 10 def to_param slug end |