aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorDamien Mathieu <42@dmathieu.com>2011-07-24 20:52:08 +0200
committerDamien Mathieu <42@dmathieu.com>2011-07-24 20:52:08 +0200
commitee56f7b8dfbdad902494af441a1c49de1349aa67 (patch)
treeeca15c90450489c7867e38162c47fcf4d172ed4e /actionpack
parent97716e6273018c5531c7c927d226af823a0a3820 (diff)
downloadrails-ee56f7b8dfbdad902494af441a1c49de1349aa67.tar.gz
rails-ee56f7b8dfbdad902494af441a1c49de1349aa67.tar.bz2
rails-ee56f7b8dfbdad902494af441a1c49de1349aa67.zip
help the next guy with explanations - See bb3b3e306
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/sprockets/assets.rake1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/sprockets/assets.rake b/actionpack/lib/sprockets/assets.rake
index 424eeae35c..50278cffcd 100644
--- a/actionpack/lib/sprockets/assets.rake
+++ b/actionpack/lib/sprockets/assets.rake
@@ -10,6 +10,7 @@ namespace :assets do
Sprockets::Helpers::RailsHelper
assets = Rails.application.config.assets.precompile
+ # Always perform caching so that asset_path appends the timestamps to file references.
Rails.application.config.action_controller.perform_caching = true
Rails.application.assets.precompile(*assets)
end