diff options
author | yui-knk <spiketeika@gmail.com> | 2015-03-11 13:55:40 +0900 |
---|---|---|
committer | yui-knk <spiketeika@gmail.com> | 2015-03-11 13:55:40 +0900 |
commit | 5df7866ba0efc3ca1e715f91824f4669c5867fe1 (patch) | |
tree | 3055974c5f17eeebb6d3448d5048c5c201358050 | |
parent | 59b07df5040feabc53ec680245c9af7102dd7af2 (diff) | |
download | rails-5df7866ba0efc3ca1e715f91824f4669c5867fe1.tar.gz rails-5df7866ba0efc3ca1e715f91824f4669c5867fe1.tar.bz2 rails-5df7866ba0efc3ca1e715f91824f4669c5867fe1.zip |
Add backquote to :as option.
-rw-r--r-- | guides/source/routing.md | 2 |
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 | | --------- | ---------------- | ----------------- | -------------------- | |