diff options
author | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2012-09-21 20:10:57 -0500 |
---|---|---|
committer | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2012-09-21 20:10:57 -0500 |
commit | fa9424695644c12efeb8413511eea4f55b3bb22c (patch) | |
tree | 7b4a9c1e1e5fb4100b3e172219e031c28ac11861 /actionpack/lib | |
parent | 3395ebe32097f6c711a3f3f1f44b67b3f969107e (diff) | |
download | rails-fa9424695644c12efeb8413511eea4f55b3bb22c.tar.gz rails-fa9424695644c12efeb8413511eea4f55b3bb22c.tar.bz2 rails-fa9424695644c12efeb8413511eea4f55b3bb22c.zip |
fix typos in AC::StrongParameters documentation [ci skip]
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/metal/strong_parameters.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/metal/strong_parameters.rb b/actionpack/lib/action_controller/metal/strong_parameters.rb index 55cc62a15e..b12d280721 100644 --- a/actionpack/lib/action_controller/metal/strong_parameters.rb +++ b/actionpack/lib/action_controller/metal/strong_parameters.rb @@ -290,9 +290,9 @@ module ActionController # end # # # This will pass with flying colors as long as there's a person key in the - # # parameters, otherwise it'll raise a ActionController::MissingParameter + # # parameters, otherwise it'll raise an ActionController::MissingParameter # # exception, which will get caught by ActionController::Base and turned - # # into that 400 Bad Request reply. + # # into a 400 Bad Request reply. # def update # redirect_to current_account.people.find(params[:id]).tap { |person| # person.update_attributes!(person_params) |