mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Removed unnecessary Symbol#to_proc from Asset Tag Helper.
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
This commit is contained in:
parent
6cfb70023a
commit
2e240f0eac
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ module ActionView
|
||||||
ASSETS_DIR = defined?(Rails.public_path) ? Rails.public_path : "public"
|
ASSETS_DIR = defined?(Rails.public_path) ? Rails.public_path : "public"
|
||||||
JAVASCRIPTS_DIR = "#{ASSETS_DIR}/javascripts"
|
JAVASCRIPTS_DIR = "#{ASSETS_DIR}/javascripts"
|
||||||
STYLESHEETS_DIR = "#{ASSETS_DIR}/stylesheets"
|
STYLESHEETS_DIR = "#{ASSETS_DIR}/stylesheets"
|
||||||
JAVASCRIPT_DEFAULT_SOURCES = ['prototype', 'effects', 'dragdrop', 'controls'].map(&:to_s).freeze unless const_defined?(:JAVASCRIPT_DEFAULT_SOURCES)
|
JAVASCRIPT_DEFAULT_SOURCES = ['prototype', 'effects', 'dragdrop', 'controls'].freeze unless const_defined?(:JAVASCRIPT_DEFAULT_SOURCES)
|
||||||
|
|
||||||
# Returns a link tag that browsers and news readers can use to auto-detect
|
# 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
|
# an RSS or ATOM feed. The +type+ can either be <tt>:rss</tt> (default) or
|
||||||
|
|
Loading…
Reference in a new issue