Module: DeferScriptTagHelper
- Defined in:
- app/helpers/defer_script_tag_helper.rb
Instance Method Summary collapse
-
#javascript_include_tag(*sources) ⇒ Object
Override the default ActionView `javascript_include_tag` helper to support page specific deferred loading.
Instance Method Details
#javascript_include_tag(*sources) ⇒ Object
Override the default ActionView `javascript_include_tag` helper to support page specific deferred loading
5 6 7 |
# File 'app/helpers/defer_script_tag_helper.rb', line 5 def javascript_include_tag(*sources) super(*sources, defer: true) end |