aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2015-07-27 16:55:47 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2015-07-27 16:55:47 -0300
commitf9a02c45faefcd6f83f63f395caaddaaa7679317 (patch)
tree2ecf4a9e4cbc8353ca4d30ffdff22738eb8bb300 /actionpack/lib/action_controller
parentc5583cd79c17a56eafdf2666a136694125ec7485 (diff)
parentedda07b2ce6ab6441ac5ed84e65a86f1fa872f40 (diff)
downloadrails-f9a02c45faefcd6f83f63f395caaddaaa7679317.tar.gz
rails-f9a02c45faefcd6f83f63f395caaddaaa7679317.tar.bz2
rails-f9a02c45faefcd6f83f63f395caaddaaa7679317.zip
Merge pull request #21031 from vngrs/fix_params_wrapper_doc
Fix params_wrapper doc [ci skip]
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r--actionpack/lib/action_controller/metal/params_wrapper.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_controller/metal/params_wrapper.rb b/actionpack/lib/action_controller/metal/params_wrapper.rb
index cdfc523bd4..e680432127 100644
--- a/actionpack/lib/action_controller/metal/params_wrapper.rb
+++ b/actionpack/lib/action_controller/metal/params_wrapper.rb
@@ -4,8 +4,8 @@ require 'active_support/core_ext/module/anonymous'
require 'action_dispatch/http/mime_type'
module ActionController
- # Wraps the parameters hash into a nested hash. This will allow clients to submit
- # POST requests without having to specify any root elements.
+ # Wraps the parameters hash into a nested hash. This will allow clients to
+ # submit requests without having to specify any root elements.
#
# This functionality is enabled in +config/initializers/wrap_parameters.rb+
# and can be customized.
@@ -14,7 +14,7 @@ module ActionController
# a non-empty array:
#
# class UsersController < ApplicationController
- # wrap_parameters format: [:json, :xml]
+ # wrap_parameters format: [:json, :xml, :url_encoded_form, :multipart_form]
# end
#
# If you enable +ParamsWrapper+ for +:json+ format, instead of having to