diff options
author | Joshua Peek <josh@joshpeek.com> | 2010-01-29 14:03:38 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2010-01-29 14:03:38 -0600 |
commit | 8a46e1182e3fce36aee5e6cb65737c4e755bbced (patch) | |
tree | 5c2b77a24138595d8bedbeab8e19df7a380551e4 /actionpack/lib/action_view/helpers | |
parent | 24aba77d9c2c9eb101d3ef5dc36d4d1002fb37b5 (diff) | |
download | rails-8a46e1182e3fce36aee5e6cb65737c4e755bbced.tar.gz rails-8a46e1182e3fce36aee5e6cb65737c4e755bbced.tar.bz2 rails-8a46e1182e3fce36aee5e6cb65737c4e755bbced.zip |
Add rails.js driver to default source list
Diffstat (limited to 'actionpack/lib/action_view/helpers')
-rw-r--r-- | actionpack/lib/action_view/helpers/asset_tag_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/asset_tag_helper.rb b/actionpack/lib/action_view/helpers/asset_tag_helper.rb index 83357dd76f..4df99f8293 100644 --- a/actionpack/lib/action_view/helpers/asset_tag_helper.rb +++ b/actionpack/lib/action_view/helpers/asset_tag_helper.rb @@ -140,7 +140,7 @@ module ActionView :stylesheets_dir => "#{assets_dir}/stylesheets", } - JAVASCRIPT_DEFAULT_SOURCES = ['prototype', 'effects', 'dragdrop', 'controls'].freeze unless const_defined?(:JAVASCRIPT_DEFAULT_SOURCES) + JAVASCRIPT_DEFAULT_SOURCES = ['prototype', 'effects', 'dragdrop', 'controls', 'rails'].freeze unless const_defined?(:JAVASCRIPT_DEFAULT_SOURCES) # Returns a link tag that browsers and news readers can use to auto-detect # an RSS or ATOM feed. The +type+ can either be <tt>:rss</tt> (default) or |