Module: Pageflow::ThemesHelper
- Includes:
- RenderJsonHelper
- Defined in:
- app/helpers/pageflow/themes_helper.rb
Constant Summary
Constants included from RenderJsonHelper
RenderJsonHelper::ESCAPED_CHARS, RenderJsonHelper::ESCAPED_CHARS_REGEX
Instance Method Summary collapse
Methods included from RenderJsonHelper
#render_html_partial, #render_json, #render_json_partial, #render_json_seed, #sanitize_json
Instance Method Details
#theme_json_seeds(config) ⇒ Object
11 12 13 14 15 |
# File 'app/helpers/pageflow/themes_helper.rb', line 11 def theme_json_seeds(config) render_json_partial('pageflow/themes/theme', collection: config.themes.to_a, as: :theme) end |