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

Set unknown_asset_fallback false only new apps

This commit is contained in:
schneems 2016-08-25 20:27:10 -05:00
parent 58bd1124cf
commit 893035782d

View file

@ -35,4 +35,4 @@ Rails.application.config.ssl_options = { hsts: { subdomains: true } }
# Unknown asset fallback will return the path passed in when the given
# asset is not present in the asset pipeline.
Rails.application.config.assets.unknown_asset_fallback = false
Rails.application.config.assets.unknown_asset_fallback = <%= options[:update] ? true : false %>