From 1ae397b5b44eb0bbb797ba63cd9ff63854c4ff06 Mon Sep 17 00:00:00 2001 From: Ryan Lue Date: Thu, 20 Jul 2017 16:59:40 +0800 Subject: Fix typo in API docs --- actionpack/lib/action_controller/metal/strong_parameters.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack') 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 -- cgit v1.2.3