diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-02-27 23:06:21 +0200 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-02-27 23:11:12 +0200 |
commit | 3efb10f8fb6e143cd4a5970167e6c4b475644bb9 (patch) | |
tree | e4db5fec3e57e7fcfa0a080ed276ca033f83d616 /railties/lib | |
parent | 39d2cde65919729ec1ca3663d7872adf8036fd58 (diff) | |
download | rails-3efb10f8fb6e143cd4a5970167e6c4b475644bb9.tar.gz rails-3efb10f8fb6e143cd4a5970167e6c4b475644bb9.tar.bz2 rails-3efb10f8fb6e143cd4a5970167e6c4b475644bb9.zip |
Fix `new_framework_defaults_6_0.rb`
`default_enforce_utf8` belongs to `config.action_view`
Update info about `:skip_enforcing_utf8` since we can change default
behavior via `config.action_controller.default_enforce_utf8`
Related to #32125
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_6_0.rb.tt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_6_0.rb.tt b/railties/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_6_0.rb.tt index bb620fb40f..179b97de4a 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_6_0.rb.tt +++ b/railties/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_6_0.rb.tt @@ -7,4 +7,4 @@ # Read the Guide for Upgrading Ruby on Rails for more info on each option. # Don't force requests from old versions of IE to be UTF-8 encoded -# Rails.application.config.action_controller.default_enforce_utf8 = false +# Rails.application.config.action_view.default_enforce_utf8 = false |