diff --git a/guides/source/action_controller_overview.md b/guides/source/action_controller_overview.md index c13eb8512f..55aab1ef93 100644 --- a/guides/source/action_controller_overview.md +++ b/guides/source/action_controller_overview.md @@ -239,8 +239,8 @@ scalar values map the key to an empty array: params.permit(:id => []) ``` -To whitelist an entire hash of parameters, the `permit!+ method can be -used +To whitelist an entire hash of parameters, the `permit!` method can be +used: ```ruby params.require(:log_entry).permit!