diff options
author | Damien Mathieu <42@dmathieu.com> | 2011-07-24 01:32:14 +0200 |
---|---|---|
committer | Damien Mathieu <42@dmathieu.com> | 2011-07-24 01:32:14 +0200 |
commit | bb3b3e306252129f24e69eede9793cfc131c766e (patch) | |
tree | 9bc527d935ccbc5899f791f9a8c8ccda42162d5c /actionpack/lib | |
parent | 410e75419d2ffdee56a465eb551f868af7063176 (diff) | |
download | rails-bb3b3e306252129f24e69eede9793cfc131c766e.tar.gz rails-bb3b3e306252129f24e69eede9793cfc131c766e.tar.bz2 rails-bb3b3e306252129f24e69eede9793cfc131c766e.zip |
rake assets:precompile should always perform caching - Closes #2199
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/sprockets/assets.rake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/sprockets/assets.rake b/actionpack/lib/sprockets/assets.rake index a68f0e84f8..424eeae35c 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 + Rails.application.config.action_controller.perform_caching = true Rails.application.assets.precompile(*assets) end |