Module: ActionPage::ApplicationHelper
- Defined in:
- app/helpers/action_page/application_helper.rb
Instance Method Summary collapse
Instance Method Details
#page_content(page) ⇒ Object
3 4 5 |
# File 'app/helpers/action_page/application_helper.rb', line 3 def page_content(page) controller.render_to_string("#{page.class.view_key}/#{page.slug}", layout: false) end |