aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorRyan Lue <ryan.lue@gmail.com>2017-07-20 16:59:40 +0800
committerRyan Lue <ryan.lue@gmail.com>2017-07-20 16:59:40 +0800
commit1ae397b5b44eb0bbb797ba63cd9ff63854c4ff06 (patch)
tree1d1d5320089b2c2e281fc2ea614d099a1e081be6 /actionpack
parentd75d9da1746b1a5cda581b7c86d1bcb2bc565c27 (diff)
downloadrails-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.rb2
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