Skip to content
Browse files

Go straight to the class for asset_host

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1299 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 45780be commit 8983a097522c08f4173abad5c1715268f31e994a @dhh dhh committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/helpers/asset_tag_helper.rb
View
2 actionpack/lib/action_view/helpers/asset_tag_helper.rb
@@ -110,7 +110,7 @@ def compute_public_path(source, dir, ext)
source = "/#{dir}/#{source}" unless source.include?("/")
source = "#{source}.#{ext}" unless source.include?(".")
source = "#{@request.relative_url_root}#{source}"
- @controller.asset_host + source
+ ActionController::Base.asset_host + source
end
end
end

0 comments on commit 8983a09

Please sign in to comment.
Something went wrong with that request. Please try again.