Merge pull request #2121 from betagouv/make-assets-faster-by-default

config: make assets compilation faster in development
This commit is contained in:
Mathieu Magnin 2018-06-21 11:38:11 +02:00 committed by GitHub
commit 706c67e674
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ Rails.application.configure do
# Debug mode disables concatenation and preprocessing of assets.
# This option may cause significant delays in view rendering with a large
# number of complex assets.
config.assets.debug = true
config.assets.debug = false
# Asset digests allow you to set far-future HTTP expiration dates on all assets,
# yet still be able to expire them through the digest params.