aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-03-05 08:31:44 -0300
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-03-05 08:31:44 -0300
commit57c516f77587ba032600968da52c1b279e18c8fa (patch)
tree67f852d7a591fc3b024c72f136416b174c8b3e11 /guides
parent3f490caeef38d2e88b50d49692a204d2e9424c67 (diff)
downloadrails-57c516f77587ba032600968da52c1b279e18c8fa.tar.gz
rails-57c516f77587ba032600968da52c1b279e18c8fa.tar.bz2
rails-57c516f77587ba032600968da52c1b279e18c8fa.zip
Fix typo in AC overview guide [ci skip]
Diffstat (limited to 'guides')
-rw-r--r--guides/source/action_controller_overview.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/action_controller_overview.md b/guides/source/action_controller_overview.md
index 61eb2ef089..5861fc3d54 100644
--- a/guides/source/action_controller_overview.md
+++ b/guides/source/action_controller_overview.md
@@ -278,7 +278,7 @@ root-key because normally it does not exist when calling `new`:
```ruby
# using `fetch` you can supply a default and use
# the Strong Parameters API from there.
-params.fetch(blog:, {}).permit(:title, :author)
+params.fetch(:blog, {}).permit(:title, :author)
```
`accepts_nested_attributes_for` allows you update and destroy the