diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-05-09 11:27:39 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-05-09 11:27:39 +0000 |
commit | 8983a097522c08f4173abad5c1715268f31e994a (patch) | |
tree | 6b7a3faa9588b6be0dacb1a3e97e936e0632c066 | |
parent | 45780be2a7d6ddb5851e04279728c817c941c31c (diff) | |
download | rails-8983a097522c08f4173abad5c1715268f31e994a.tar.gz rails-8983a097522c08f4173abad5c1715268f31e994a.tar.bz2 rails-8983a097522c08f4173abad5c1715268f31e994a.zip |
Go straight to the class for asset_host
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1299 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-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 ecaa12f542..c3ee24df84 100644 --- a/actionpack/lib/action_view/helpers/asset_tag_helper.rb +++ b/actionpack/lib/action_view/helpers/asset_tag_helper.rb @@ -110,7 +110,7 @@ module ActionView 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 |