Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update action_controller_overview.md

  • Loading branch information...
commit 65d681f5e351fa7c7d117ecebe8b7a95f9ebea8d 1 parent 3aa3880
@Mik-die Mik-die authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 guides/source/action_controller_overview.md
View
4 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!
Please sign in to comment.
Something went wrong with that request. Please try again.