Module: DryHamlHandlebars::ControllerHelpers::ActionController
- Defined in:
- lib/dry_haml_handlebars/controller_helpers/action_controller.rb
Instance Method Summary collapse
Instance Method Details
#render_extra_content_for(*args) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/dry_haml_handlebars/controller_helpers/action_controller.rb', line 5 def render_extra_content_for(*args) = args. args.each do |identifier| name, path = get_content_for_name_and_path(identifier, ) DryHamlHandlebars.content_cache.add_item(name, path) end end |