diff options
author | Ryan Lue <ryan.lue@gmail.com> | 2017-07-20 16:59:40 +0800 |
---|---|---|
committer | Ryan Lue <ryan.lue@gmail.com> | 2017-07-20 16:59:40 +0800 |
commit | 1ae397b5b44eb0bbb797ba63cd9ff63854c4ff06 (patch) | |
tree | 1d1d5320089b2c2e281fc2ea614d099a1e081be6 /actionpack | |
parent | d75d9da1746b1a5cda581b7c86d1bcb2bc565c27 (diff) | |
download | rails-1ae397b5b44eb0bbb797ba63cd9ff63854c4ff06.tar.gz rails-1ae397b5b44eb0bbb797ba63cd9ff63854c4ff06.tar.bz2 rails-1ae397b5b44eb0bbb797ba63cd9ff63854c4ff06.zip |
Fix typo in API docs
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/metal/strong_parameters.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/strong_parameters.rb b/actionpack/lib/action_controller/metal/strong_parameters.rb index c768ac1cff..ef61485a70 100644 --- a/actionpack/lib/action_controller/metal/strong_parameters.rb +++ b/actionpack/lib/action_controller/metal/strong_parameters.rb @@ -676,7 +676,7 @@ module ActionController # Deletes a key-value pair from +Parameters+ and returns the value. If # +key+ is not found, returns +nil+ (or, with optional code block, yields # +key+ and returns the result). Cf. +#extract!+, which returns the - # corresponding +ActionController::Paramters+ object. + # corresponding +ActionController::Parameters+ object. def delete(key, &block) convert_value_to_parameters(@parameters.delete(key, &block)) end |