Class: PufferPages::PagesBase
- Inherits:
-
Puffer::TreeBase
- Object
- Puffer::TreeBase
- PufferPages::PagesBase
- Defined in:
- lib/puffer_pages/backends/controllers/pages_base.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#new ⇒ Object
14 15 16 17 18 19 20 |
# File 'lib/puffer_pages/backends/controllers/pages_base.rb', line 14 def new @record = resource.new_member if !@record.inherited_page_part(PufferPages.primary_page_part_name) @record.page_parts.build :name => PufferPages.primary_page_part_name end respond_with @record end |