aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/routing.md
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2017-07-18 13:42:57 -0400
committerGitHub <noreply@github.com>2017-07-18 13:42:57 -0400
commit36ff7b63ec083924a5b407cf3df7ae90e22183e2 (patch)
tree8cbdbe138f13a0dc7c3666f036fda685c644d262 /guides/source/routing.md
parent425ba83c28214ca97c5d3600c16ad7a796cd33e6 (diff)
parentf47bac481949a69a519ea7d833e1a8d435332d52 (diff)
downloadrails-36ff7b63ec083924a5b407cf3df7ae90e22183e2.tar.gz
rails-36ff7b63ec083924a5b407cf3df7ae90e22183e2.tar.bz2
rails-36ff7b63ec083924a5b407cf3df7ae90e22183e2.zip
Merge branch 'master' into fix_unscope_where_column_with_or
Diffstat (limited to 'guides/source/routing.md')
-rw-r--r--guides/source/routing.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/routing.md b/guides/source/routing.md
index f7dbbc510e..0d45d6c554 100644
--- a/guides/source/routing.md
+++ b/guides/source/routing.md
@@ -484,7 +484,7 @@ resources :photos do
end
```
-This will recognize `/photos/1/preview` with GET, and route to the `preview` action of `PhotosController`, with the resource id value passed in `params[:id]`. It will also create the `preview_photo_url` and `preview_photo_path` helpers.
+This will recognize `/photos/1/preview` with GET, and route to the `preview` action of `PhotosController`, with the resource id value passed in `params[:id]`. It will also create the `photo_preview_url` and `photo_preview_path` helpers.
Within the block of member routes, each route name specifies the HTTP verb
will be recognized. You can use `get`, `patch`, `put`, `post`, or `delete` here