aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2007-03-07 00:33:13 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2007-03-07 00:33:13 +0000
commitd4528effbbd28103f314b2ec373c403d6def14d4 (patch)
tree4233285da4d92cbf6c6b42dd251a3553da5c95a7 /actionpack/lib/action_view
parent3644415a1e0640cc4040489d1f5cb9ef0c85bca5 (diff)
downloadrails-d4528effbbd28103f314b2ec373c403d6def14d4.tar.gz
rails-d4528effbbd28103f314b2ec373c403d6def14d4.tar.bz2
rails-d4528effbbd28103f314b2ec373c403d6def14d4.zip
Caching shouldnt include the host still
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6353 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_view')
-rw-r--r--actionpack/lib/action_view/helpers/asset_tag_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/helpers/asset_tag_helper.rb b/actionpack/lib/action_view/helpers/asset_tag_helper.rb
index a4843843d7..6905aaf06e 100644
--- a/actionpack/lib/action_view/helpers/asset_tag_helper.rb
+++ b/actionpack/lib/action_view/helpers/asset_tag_helper.rb
@@ -149,7 +149,7 @@ module ActionView
if !File.exists?(joined_javascript_path)
File.atomic_write(joined_javascript_path, File.dirname(joined_javascript_path)) do |cache|
javascript_paths = expand_javascript_sources(sources).collect do |source|
- compute_public_path(source, 'javascripts', 'js')
+ compute_public_path(source, 'javascripts', 'js', false)
end
cache.write(join_asset_file_contents(javascript_paths))
@@ -244,7 +244,7 @@ module ActionView
if !File.exists?(joined_stylesheet_path)
File.atomic_write(joined_stylesheet_path, File.dirname(joined_stylesheet_path)) do |cache|
stylesheet_paths = expand_stylesheet_sources(sources).collect do |source|
- compute_public_path(source, 'stylesheets', 'css')
+ compute_public_path(source, 'stylesheets', 'css', false)
end
cache.write(join_asset_file_contents(stylesheet_paths))