diff options
author | schneems <richard.schneeman@gmail.com> | 2016-08-23 12:20:36 -0500 |
---|---|---|
committer | schneems <richard.schneeman@gmail.com> | 2016-08-29 13:16:07 -0500 |
commit | fc16af47ba941ce8c0125653fa3bf399d68a586c (patch) | |
tree | d7c53d53255e9fc812eec1650b5fcdae58270802 /railties/lib | |
parent | 85f142019ff172ff8518535ceb878bfe205aef14 (diff) | |
download | rails-fc16af47ba941ce8c0125653fa3bf399d68a586c.tar.gz rails-fc16af47ba941ce8c0125653fa3bf399d68a586c.tar.bz2 rails-fc16af47ba941ce8c0125653fa3bf399d68a586c.zip |
Default assets.unknown_asset_fallback to false
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/initializers/assets.rb.tt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/initializers/assets.rb.tt b/railties/lib/rails/generators/rails/app/templates/config/initializers/assets.rb.tt index 2318cf59ff..2393fecc12 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/initializers/assets.rb.tt +++ b/railties/lib/rails/generators/rails/app/templates/config/initializers/assets.rb.tt @@ -6,6 +6,10 @@ Rails.application.config.assets.version = '1.0' # Add additional assets to the asset load path # Rails.application.config.assets.paths << Emoji.images_path +# 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 + # Precompile additional assets. # application.js, application.css, and all non-JS/CSS in the app/assets # folder are already added. |