Fix deprecation warning for non-pipeline assets (#4267)
This commit is contained in:
parent
9fc082ea81
commit
c2c93f8cd6
2 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue