diff options
author | Joshua Peek <josh@joshpeek.com> | 2010-01-30 19:20:49 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2010-01-30 19:20:49 -0600 |
commit | 7d9ed8eec1c899dac10d582ced07149fe5c58c4f (patch) | |
tree | f1e854aa326739f59229b146b22f768c538870cd /actionpack/lib | |
parent | db49c706b62e7ea2ab93f05399dbfddf5087ee0c (diff) | |
download | rails-7d9ed8eec1c899dac10d582ced07149fe5c58c4f.tar.gz rails-7d9ed8eec1c899dac10d582ced07149fe5c58c4f.tar.bz2 rails-7d9ed8eec1c899dac10d582ced07149fe5c58c4f.zip |
Include prototype ujs adapter with new apps
Diffstat (limited to 'actionpack/lib')
-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 |