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:
parent
97716e6273
commit
ee56f7b8df
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue