Flowdock
method

add_application_js

Importance_0
Ruby on Rails latest stable (v5.2.3) - 0 notes - Class: JavascriptIncludeTag

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

add_application_js(expanded_sources, sources) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_view/helpers/asset_tag_helpers/javascript_tag_helpers.rb, line 43
          def add_application_js(expanded_sources, sources)
            if (sources.include?(:defaults) || sources.include?(:all)) && File.exist?(File.join(custom_dir, "application.#{extension}"))
              expanded_sources.delete('application')
              expanded_sources << "application"
            end
          end
Register or log in to add new notes.