diff --git a/lib/devise/parameter_sanitizer.rb b/lib/devise/parameter_sanitizer.rb index d34d32c2..358b95e5 100644 --- a/lib/devise/parameter_sanitizer.rb +++ b/lib/devise/parameter_sanitizer.rb @@ -169,7 +169,7 @@ module Devise If you want to define a new set of parameters to be sanitized use the `permit` method first: - devise_parameter_sanitizer.permit(:#{action}, keys: [:param1, param2, param3]) + devise_parameter_sanitizer.permit(:#{action}, keys: [:param1, :param2, :param3]) MESSAGE end