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

help the next guy with explanations - See bb3b3e306

This commit is contained in:
Damien Mathieu 2011-07-24 20:52:08 +02:00
parent 97716e6273
commit ee56f7b8df

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