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 /actionview/lib/action_view/helpers | |
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 'actionview/lib/action_view/helpers')
-rw-r--r-- | actionview/lib/action_view/helpers/form_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionview/lib/action_view/helpers/form_helper.rb b/actionview/lib/action_view/helpers/form_helper.rb index 6fd66066c6..afd49286e6 100644 --- a/actionview/lib/action_view/helpers/form_helper.rb +++ b/actionview/lib/action_view/helpers/form_helper.rb @@ -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. |