diff options
author | Xavier Noria <fxn@hashref.com> | 2013-11-08 16:55:15 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2013-11-08 16:55:15 +0100 |
commit | 3d5e83fea4cc070fc55da535b7777a914301e284 (patch) | |
tree | 067929e8d6df797c0b058760ec4f1592925c0d50 /guides/source | |
parent | f0963a61adcf8ac2d09a88eb3c60339dd1b1f0fc (diff) | |
download | rails-3d5e83fea4cc070fc55da535b7777a914301e284.tar.gz rails-3d5e83fea4cc070fc55da535b7777a914301e284.tar.bz2 rails-3d5e83fea4cc070fc55da535b7777a914301e284.zip |
removes redundant curly brackets in example code [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/action_controller_overview.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/action_controller_overview.md b/guides/source/action_controller_overview.md index 82a23b3dc0..0c06e36de9 100644 --- a/guides/source/action_controller_overview.md +++ b/guides/source/action_controller_overview.md @@ -328,7 +328,7 @@ the job done: ```ruby def product_params - params.require(:product).permit(:name, { data: params[:product][:data].try(:keys) }) + params.require(:product).permit(:name, data: params[:product][:data].try(:keys)) end ``` |