aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/routing.md
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2015-03-26 16:22:41 +0000
committerVijay Dev <vijaydev.cse@gmail.com>2015-03-26 16:22:41 +0000
commitc26ee64b9211c92f4826fb935c615fbfa9d35821 (patch)
tree904b671d14bb1bc57e001c8156cac76d0c51553a /guides/source/routing.md
parent8635706ba370327d2ce694e9879bc8d13a14baa8 (diff)
parent194edcf67e69f618ba4250e483ba303a8437af2a (diff)
downloadrails-c26ee64b9211c92f4826fb935c615fbfa9d35821.tar.gz
rails-c26ee64b9211c92f4826fb935c615fbfa9d35821.tar.bz2
rails-c26ee64b9211c92f4826fb935c615fbfa9d35821.zip
Merge branch 'master' of github.com:rails/docrails
Conflicts: guides/source/4_0_release_notes.md
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 1a614fe42b..7d0a3efbe7 100644
--- a/guides/source/routing.md
+++ b/guides/source/routing.md
@@ -909,7 +909,7 @@ The `:as` option lets you override the normal naming for the named route helpers
resources :photos, as: 'images'
```
-will recognize incoming paths beginning with `/photos` and route the requests to `PhotosController`, but use the value of the :as option to name the helpers.
+will recognize incoming paths beginning with `/photos` and route the requests to `PhotosController`, but use the value of the `:as` option to name the helpers.
| HTTP Verb | Path | Controller#Action | Named Helper |
| --------- | ---------------- | ----------------- | -------------------- |