method

reset_javascript_include_default

Importance_0
v3.0.0 - Show latest stable - 0 notes - Class: ActionView::Helpers::AssetTagHelper
reset_javascript_include_default() public

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_helper.rb, line 396
      def self.reset_javascript_include_default
        ActiveSupport::Deprecation.warn "reset_javascript_include_default is deprecated. Please manipulate " \
          "config.action_view.javascript_expansions[:defaults] directly", caller
        self.javascript_expansions[:defaults] = ['prototype', 'effects', 'dragdrop', 'controls', 'rails']
      end
Register or log in to add new notes.