mirror of
https://github.com/github/rails.git
synced 2026-01-31 09:18:17 -05:00
Caching shouldnt include the host still
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6353 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user