0
0
Fork 0

Fix deprecation warning for non-pipeline assets (#4267)

This commit is contained in:
Eugen Rochko 2017-07-19 12:00:05 +02:00 committed by GitHub
parent 9fc082ea81
commit c2c93f8cd6
2 changed files with 6 additions and 6 deletions

View file

@ -11,7 +11,7 @@ module RoutingHelper
end
end
def full_asset_url(source)
Rails.configuration.x.use_s3 ? source : URI.join(root_url, ActionController::Base.helpers.asset_url(source)).to_s
def full_asset_url(source, options = {})
Rails.configuration.x.use_s3 ? source : URI.join(root_url, ActionController::Base.helpers.asset_url(source, options)).to_s
end
end