aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Jayanthan <kevin.t.jayan@gmail.com>2015-03-02 14:56:31 +0530
committerKevin Jayanthan <kevin.t.jayan@gmail.com>2015-03-02 14:56:31 +0530
commitc7172f50408cc29f22fa5be43f54ffa0dc43657b (patch)
tree3e3981a47d26e049c33d3351038367618d032eba
parentc34a5bff94e2af111f7c7f8f0bce8f94e1fd798b (diff)
downloadrails-c7172f50408cc29f22fa5be43f54ffa0dc43657b.tar.gz
rails-c7172f50408cc29f22fa5be43f54ffa0dc43657b.tar.bz2
rails-c7172f50408cc29f22fa5be43f54ffa0dc43657b.zip
Fixing incorrect class name used in an example.
On "Controller Namespaces and Routing" section of the "Rails Routing from the Outside In" , the examples are using "AritclesController" as an example of a controller, to show different organizers. But on the line 232, it incorrectly uses "PostsController" instead of "AritclesController".
-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..b5defc9d20 100644
--- a/guides/source/routing.md
+++ b/guides/source/routing.md
@@ -229,7 +229,7 @@ or, for a single case:
resources :articles, path: '/admin/articles'
```
-In each of these cases, the named routes remain the same as if you did not use `scope`. In the last case, the following paths map to `PostsController`:
+In each of these cases, the named routes remain the same as if you did not use `scope`. In the last case, the following paths map to `ArticlesController`:
| HTTP Verb | Path | Controller#Action | Named Helper |
| --------- | ------------------------ | -------------------- | ---------------------- |