diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2011-05-02 15:14:24 -0700 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2011-05-02 15:14:24 -0700 |
commit | e30f068d658e5e7e038272e11590f0dee851da4a (patch) | |
tree | 2a8c2949365b7ccbe38c4cb6fcdeb65592b957c9 /actionpack/lib | |
parent | 11db2ae4e0f6e60c9619a808350c1550c4c78c89 (diff) | |
parent | c894fff60a9146754fc9f7c4ddf992634c2bedd3 (diff) | |
download | rails-e30f068d658e5e7e038272e11590f0dee851da4a.tar.gz rails-e30f068d658e5e7e038272e11590f0dee851da4a.tar.bz2 rails-e30f068d658e5e7e038272e11590f0dee851da4a.zip |
Merge pull request #369 from smartinez87/params_wrapper.
Fix ParamsWrapper docs errors
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/metal/params_wrapper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/metal/params_wrapper.rb b/actionpack/lib/action_controller/metal/params_wrapper.rb index 29ff546139..7827ed598e 100644 --- a/actionpack/lib/action_controller/metal/params_wrapper.rb +++ b/actionpack/lib/action_controller/metal/params_wrapper.rb @@ -5,7 +5,7 @@ module ActionController # Wraps parameters hash into nested hash. This will allow client to submit # POST request without having to specify a root element in it. # - # By default, this functionality won't be enabled by default. You can enable + # By default this functionality won't be enabled. You can enable # it globally by setting +ActionController::Base.wrap_parameters+: # # ActionController::Base.wrap_parameters = [:json] @@ -78,7 +78,7 @@ module ActionController # # ==== Examples # wrap_parameters :format => :xml - # # enables the parmeter wrappes for XML format + # # enables the parmeter wrapper for XML format # # wrap_parameters :person # # wraps parameters into +params[:person]+ hash |