Module: ActionView::Helpers::AssetTagHelper
- Defined in:
- lib/js_namespace_rails/action_view/helpers/asset_tag_helper.rb
Instance Method Summary collapse
Instance Method Details
#javascript_include_tag(*source) ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/js_namespace_rails/action_view/helpers/asset_tag_helper.rb', line 6 def javascript_include_tag(*source) if defined?(controller_path) && !@_included @_included = true concat javascript_tag(insert_hook_script, defer: 'defer') end javascript_include_tag_without_controller(*source) end |
#javascript_include_tag_without_controller ⇒ Object
4 |
# File 'lib/js_namespace_rails/action_view/helpers/asset_tag_helper.rb', line 4 alias_method :javascript_include_tag_without_controller, :javascript_include_tag |