Sha256: 742b6ad51820233fd566bb5e4632c8e68cfe23a75b14b741b9e047a1370b101b
Contents?: true
Size: 486 Bytes
Versions: 6
Compression:
Stored size: 486 Bytes
Contents
# Switch the javascript_include_tag :defaults to use jQuery instead of # the default prototype helpers. # Credits: http://github.com/lleger/Rails-3-jQuery/ if ActionView::Helpers::AssetTagHelper.const_defined?(:JAVASCRIPT_DEFAULT_SOURCES) ActionView::Helpers::AssetTagHelper.send(:remove_const, "JAVASCRIPT_DEFAULT_SOURCES") end ActionView::Helpers::AssetTagHelper::JAVASCRIPT_DEFAULT_SOURCES = ['jquery', 'rails'] ActionView::Helpers::AssetTagHelper::reset_javascript_include_default
Version data entries
6 entries across 6 versions & 1 rubygems