1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

rake assets:precompile should always perform caching - Closes #2199

This commit is contained in:
Damien Mathieu 2011-07-24 01:32:14 +02:00
parent 410e75419d
commit bb3b3e3062

View file

@ -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