aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/asset_tag_helper.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2008-01-07 00:12:32 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2008-01-07 00:12:32 +0000
commit2b326a7155ec74c7dad2c7adbd4356976847d411 (patch)
treed2b2233b4e6bdfcdb43569980e4b1ca600aa8bec /actionpack/lib/action_view/helpers/asset_tag_helper.rb
parent7671e983972e6931e906a749393d2781d19987ea (diff)
downloadrails-2b326a7155ec74c7dad2c7adbd4356976847d411.tar.gz
rails-2b326a7155ec74c7dad2c7adbd4356976847d411.tar.bz2
rails-2b326a7155ec74c7dad2c7adbd4356976847d411.zip
Ruby 1.9 compat: remove stray colon
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8582 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_view/helpers/asset_tag_helper.rb')
-rw-r--r--actionpack/lib/action_view/helpers/asset_tag_helper.rb2
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 fd01fd60bc..b367866a4b 100644
--- a/actionpack/lib/action_view/helpers/asset_tag_helper.rb
+++ b/actionpack/lib/action_view/helpers/asset_tag_helper.rb
@@ -477,7 +477,7 @@ module ActionView
if host = ActionController::Base.asset_host
if host.is_a?(Proc)
case host.arity
- when 2:
+ when 2
host.call(source, @controller.request)
else
host.call(source)