提交 65d681f5 编写于 作者: M Mikhail Dieterle

Update action_controller_overview.md

上级 3aa3880c
......@@ -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!
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册