Module: ActiveAdmin::Cms::CmsHelper
- Defined in:
- lib/active_admin/cms/helpers/cms_helper.rb
Instance Method Summary collapse
Instance Method Details
#cms_content(page, content_key, options = {}) ⇒ Object
4 5 6 7 8 |
# File 'lib/active_admin/cms/helpers/cms_helper.rb', line 4 def cms_content page, content_key, = {} raise Exceptions::MissingPage if !page #debugger page.content_for(content_key).to_html().html_safe if page.content_for(content_key) end |