diff options
author | Mike Gunderloy <MikeG1@larkfarm.com> | 2008-10-29 06:15:34 -0500 |
---|---|---|
committer | Mike Gunderloy <MikeG1@larkfarm.com> | 2008-10-29 06:15:34 -0500 |
commit | 40d049e981cbf7d73debcd1e3d16bde420590897 (patch) | |
tree | 035893245d83b2497a65f8728cb8866fa38ff55a /railties/doc/guides/source | |
parent | d669e5585e85aeedbf5c0ceb9471a9ee5a12fa13 (diff) | |
download | rails-40d049e981cbf7d73debcd1e3d16bde420590897.tar.gz rails-40d049e981cbf7d73debcd1e3d16bde420590897.tar.bz2 rails-40d049e981cbf7d73debcd1e3d16bde420590897.zip |
Fix typo in routing guide, regenerate routing + actioncontroller guides
Diffstat (limited to 'railties/doc/guides/source')
-rw-r--r-- | railties/doc/guides/source/routing_outside_in.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/doc/guides/source/routing_outside_in.txt b/railties/doc/guides/source/routing_outside_in.txt index 716c362c76..6d127973b0 100644 --- a/railties/doc/guides/source/routing_outside_in.txt +++ b/railties/doc/guides/source/routing_outside_in.txt @@ -600,7 +600,7 @@ map.namespace(:admin) do |admin| end ------------------------------------------------------- -As you can see, the namespaced version is much more succinct than the one that spells everything out - but it still creates the same routes. For example, you'll get +admin_photos_url+ that expects to find an +Admin::PhotosController+ and that matches +admin/photos+, and +admin_photos_ratings+path+ that matches +/admin/photos/_photo_id_/ratings+, expecting to use +Admin::RatingsController+. Even though you're not specifying +path_prefix+ explicitly, the routing code will calculate the appropriate +path_prefix+ from the route nesting. +As you can see, the namespaced version is much more succinct than the one that spells everything out - but it still creates the same routes. For example, you'll get +admin_photos_url+ that expects to find an +Admin::PhotosController+ and that matches +admin/photos+, and +admin_photos_ratings_path+ that matches +/admin/photos/_photo_id_/ratings+, expecting to use +Admin::RatingsController+. Even though you're not specifying +path_prefix+ explicitly, the routing code will calculate the appropriate +path_prefix+ from the route nesting. === Adding More RESTful Actions |