aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorflocela <flocela@gmail.com>2019-05-16 10:35:56 -0500
committerGitHub <noreply@github.com>2019-05-16 10:35:56 -0500
commit9cfdf2b19f42e392758d9204e2987e24339c293b (patch)
tree9d21c866057c838c33e3f8ce1cc7e962ca6afb14 /guides
parent9c5135ce6a10c8318e25a587620c8cde4563f348 (diff)
downloadrails-9cfdf2b19f42e392758d9204e2987e24339c293b.tar.gz
rails-9cfdf2b19f42e392758d9204e2987e24339c293b.tar.bz2
rails-9cfdf2b19f42e392758d9204e2987e24339c293b.zip
typo change
In Adding More RESTful Actions, Adding Member Routes: I believe the word 'that' should be added to the sentence, 'Within the block of member routes, each route name specifies the HTTP verb will be recognized.' This results in 'Within the block of member routes, each route name specifies the HTTP verb that will be recognized.'
Diffstat (limited to 'guides')
-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 e3a6bbb138..4aeb9ee585 100644
--- a/guides/source/routing.md
+++ b/guides/source/routing.md
@@ -508,7 +508,7 @@ 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.
-Within the block of member routes, each route name specifies the HTTP verb
+Within the block of member routes, each route name specifies the HTTP verb that
will be recognized. You can use `get`, `patch`, `put`, `post`, or `delete` here
. If you don't have multiple `member` routes, you can also pass `:on` to a
route, eliminating the block: