Skip to content

Commit

Permalink
Merge pull request #369 from smartinez87/params_wrapper.
Browse files Browse the repository at this point in the history
Fix ParamsWrapper docs errors
  • Loading branch information
dhh committed May 2, 2011
2 parents 11db2ae + c894fff commit e30f068
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actionpack/lib/action_controller/metal/params_wrapper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e30f068

Please sign in to comment.