Skip to content
Browse files

Merge pull request #369 from smartinez87/params_wrapper.

Fix ParamsWrapper docs errors
  • Loading branch information...
2 parents 11db2ae + c894fff commit e30f068d658e5e7e038272e11590f0dee851da4a @dhh dhh committed May 2, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/lib/action_controller/metal/params_wrapper.rb
View
4 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 ClassMethods
#
# ==== 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

0 comments on commit e30f068

Please sign in to comment.
Something went wrong with that request. Please try again.