diff options
-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 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) |