diff options
author | Sebastian Martinez <sebastian@wyeworks.com> | 2011-05-02 19:07:48 -0300 |
---|---|---|
committer | Sebastian Martinez <sebastian@wyeworks.com> | 2011-05-02 19:07:48 -0300 |
commit | c894fff60a9146754fc9f7c4ddf992634c2bedd3 (patch) | |
tree | 2a8c2949365b7ccbe38c4cb6fcdeb65592b957c9 /actionpack/lib/action_controller | |
parent | 11db2ae4e0f6e60c9619a808350c1550c4c78c89 (diff) | |
download | rails-c894fff60a9146754fc9f7c4ddf992634c2bedd3.tar.gz rails-c894fff60a9146754fc9f7c4ddf992634c2bedd3.tar.bz2 rails-c894fff60a9146754fc9f7c4ddf992634c2bedd3.zip |
Fix ParamsWrapper docs errors
Diffstat (limited to 'actionpack/lib/action_controller')
-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 |