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:
parent
58bd1124cf
commit
893035782d
1 changed files with 1 additions and 1 deletions
|
@ -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 %>
|
||||
|
|
Loading…
Reference in a new issue