diff options
author | schneems <richard.schneeman@gmail.com> | 2016-08-25 12:29:54 -0500 |
---|---|---|
committer | schneems <richard.schneeman@gmail.com> | 2016-08-29 13:16:07 -0500 |
commit | 58bd1124cf333f0e980dfbb31b38240d1004aa77 (patch) | |
tree | d12cc55ee00c72f9c3339b7bb6ca6c5ed2df78a6 /guides | |
parent | a7256c30ae9fdbfc336f1556cccce2e0866cc1ad (diff) | |
download | rails-58bd1124cf333f0e980dfbb31b38240d1004aa77.tar.gz rails-58bd1124cf333f0e980dfbb31b38240d1004aa77.tar.bz2 rails-58bd1124cf333f0e980dfbb31b38240d1004aa77.zip |
Move default to different initializer
Is this usage correct? cc/ @prathamesh-sonpatki
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/upgrading_ruby_on_rails.md | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/guides/source/upgrading_ruby_on_rails.md b/guides/source/upgrading_ruby_on_rails.md index 4530990280..2372590cec 100644 --- a/guides/source/upgrading_ruby_on_rails.md +++ b/guides/source/upgrading_ruby_on_rails.md @@ -1444,18 +1444,6 @@ config.public_file_server.headers = { } ``` -### config/initializers/assets.rb - -In the most recent verison of sprockets-rails there is a flag available to configure what happens when -an asset lookup is performed and no asset is found. By setting this value to false, an error will be -raised so the asset lookup does not fail silently. - -```ruby -# 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 -``` - ### config/initializers/wrap_parameters.rb Add this file with the following contents, if you wish to wrap parameters into a nested hash. This is on by default in new applications. |