Flowdock
method

add_application_js

Importance_0
v3.2.1 - Show latest stable - 0 notes - Class: JavascriptIncludeTag
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 42
          def add_application_js(expanded_sources, sources)
            if sources.include?(:defaults) && 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.