aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2011-07-24 14:02:36 -0700
committerXavier Noria <fxn@hashref.com>2011-07-24 14:02:36 -0700
commit12034516e25793370cb92303301cef8249d460ac (patch)
treef8ef90eb643c3ab04ab1ff594425ff389807de16 /actionpack/lib
parent0599e16dd9517acedf8bbc0dc27adb7689eddfb9 (diff)
parentee56f7b8dfbdad902494af441a1c49de1349aa67 (diff)
downloadrails-12034516e25793370cb92303301cef8249d460ac.tar.gz
rails-12034516e25793370cb92303301cef8249d460ac.tar.bz2
rails-12034516e25793370cb92303301cef8249d460ac.zip
Merge pull request #2243 from dmathieu/comment
Help the next guy with explanations - See bb3b3e306
Diffstat (limited to 'actionpack/lib')
-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