public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
Removed unnecessary Symbol#to_proc from Asset Tag Helper.

Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
clemens (author)
Tue Sep 02 00:48:56 -0700 2008
jeremy (committer)
Tue Sep 02 15:55:22 -0700 2008
commit  2e240f0eac66fac0bf4c919a45474b7957883624
tree    7f31f4a8e4ab128cd231be742e5f476b0dba3ee4
parent  6cfb70023a7b102debaa7f1505b173556a285ae7
...
104
105
106
107
 
108
109
110
...
104
105
106
 
107
108
109
110
0
@@ -104,7 +104,7 @@ module ActionView
0
       ASSETS_DIR      = defined?(Rails.public_path) ? Rails.public_path : "public"
0
       JAVASCRIPTS_DIR = "#{ASSETS_DIR}/javascripts"
0
       STYLESHEETS_DIR = "#{ASSETS_DIR}/stylesheets"
0
-      JAVASCRIPT_DEFAULT_SOURCES = ['prototype', 'effects', 'dragdrop', 'controls'].map(&:to_s).freeze unless const_defined?(:JAVASCRIPT_DEFAULT_SOURCES)
0
+      JAVASCRIPT_DEFAULT_SOURCES = ['prototype', 'effects', 'dragdrop', 'controls'].freeze unless const_defined?(:JAVASCRIPT_DEFAULT_SOURCES)
0
 
0
       # Returns a link tag that browsers and news readers can use to auto-detect
0
       # an RSS or ATOM feed. The +type+ can either be <tt>:rss</tt> (default) or

Comments