aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/routing.md
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2015-03-11 13:55:40 +0900
committeryui-knk <spiketeika@gmail.com>2015-03-11 13:55:40 +0900
commit5df7866ba0efc3ca1e715f91824f4669c5867fe1 (patch)
tree3055974c5f17eeebb6d3448d5048c5c201358050 /guides/source/routing.md
parent59b07df5040feabc53ec680245c9af7102dd7af2 (diff)
downloadrails-5df7866ba0efc3ca1e715f91824f4669c5867fe1.tar.gz
rails-5df7866ba0efc3ca1e715f91824f4669c5867fe1.tar.bz2
rails-5df7866ba0efc3ca1e715f91824f4669c5867fe1.zip
Add backquote to :as option.
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 a689e131ff..5787f3a4cc 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 |
| --------- | ---------------- | ----------------- | -------------------- |