Permalink
Browse files

Update action_controller_overview.md

  • Loading branch information...
1 parent 3aa3880 commit 65d681f5e351fa7c7d117ecebe8b7a95f9ebea8d @Mik-die Mik-die committed Mar 15, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 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!

0 comments on commit 65d681f

Please sign in to comment.