Skip to content

Commit

Permalink
pass full source to compute_asset_host
Browse files Browse the repository at this point in the history
  • Loading branch information
dudeman committed Feb 20, 2014
1 parent 25ce856 commit ded2f04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionview/lib/action_view/helpers/asset_url_helper.rb
Expand Up @@ -137,7 +137,7 @@ def asset_path(source, options = {})
source = "#{relative_url_root}#{source}" unless source.starts_with?("#{relative_url_root}/")
end

if host = compute_asset_host(source, options)
if host = compute_asset_host("#{source}#{tail}", options)
source = "#{host}#{source}"
end

Expand Down

0 comments on commit ded2f04

Please sign in to comment.