Class: Page
Instance Method Summary collapse
Methods inherited from Section
#attributes_protected_by_default, #home?, inherited, #path, #type, type_names
Instance Method Details
#body=(body) ⇒ Object
7 8 9 10 |
# File 'app/models/page.rb', line 7 def body=(body) ensure_default_article article.body = body end |