mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
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
This commit is contained in:
parent
39d2cde659
commit
3efb10f8fb
2 changed files with 3 additions and 3 deletions
|
@ -610,8 +610,8 @@ module ActionView
|
|||
# unnecessary unless you support browsers without JavaScript.
|
||||
# * <tt>:local</tt> - By default form submits are remote and unobtrusive XHRs.
|
||||
# Disable remote submits with <tt>local: true</tt>.
|
||||
# * <tt>:skip_enforcing_utf8</tt> - By default a hidden field named +utf8+
|
||||
# is output to enforce UTF-8 submits. Set to true to skip the field.
|
||||
# * <tt>:skip_enforcing_utf8</tt> - If set to true, a hidden input with name
|
||||
# utf8 is not output.
|
||||
# * <tt>:builder</tt> - Override the object used to build the form.
|
||||
# * <tt>:id</tt> - Optional HTML id attribute.
|
||||
# * <tt>:class</tt> - Optional HTML class attribute.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue