Permalink
Browse files

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

  • Loading branch information...
1 parent 434bbb0 commit 038e493966e2cd1c5822fe03ea563c721144f754 @dmathieu dmathieu committed with tenderlove Jul 23, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 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

0 comments on commit 038e493

Please sign in to comment.