Skip to content
Browse files

Merge pull request #2226 from dmathieu/perform_caching

rake assets:precompile should always perform caching - Closes #2199
  • Loading branch information...
2 parents 410e754 + bb3b3e3 commit 06c52d6ac93cb263abce6abfbef91a7a3a3e3d6a @tenderlove tenderlove committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 actionpack/lib/sprockets/assets.rake
View
1 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 06c52d6

Please sign in to comment.
Something went wrong with that request. Please try again.