Merge pull request #2243 from dmathieu/comment

Help the next guy with explanations - See bb3b3e306
This commit is contained in:
Xavier Noria
2011-07-24 14:02:36 -07:00

View File

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