aboutsummaryrefslogtreecommitdiffstats
path: root/railties/doc/guides/routing/routing_outside_in.txt
diff options
context:
space:
mode:
authorMike Gunderloy <MikeG1@larkfarm.com>2008-09-30 09:48:59 -0500
committerMike Gunderloy <MikeG1@larkfarm.com>2008-09-30 09:48:59 -0500
commit8292c7dfce4b893588860053e50ef60ae9a0609a (patch)
treed44afd2b64d672cf03bd0232b58fa39e9544bd1a /railties/doc/guides/routing/routing_outside_in.txt
parent9922f03adf36db79776688eecc37b3005108449e (diff)
downloadrails-8292c7dfce4b893588860053e50ef60ae9a0609a.tar.gz
rails-8292c7dfce4b893588860053e50ef60ae9a0609a.tar.bz2
rails-8292c7dfce4b893588860053e50ef60ae9a0609a.zip
Fix several typos in route names.
Diffstat (limited to 'railties/doc/guides/routing/routing_outside_in.txt')
-rw-r--r--railties/doc/guides/routing/routing_outside_in.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/doc/guides/routing/routing_outside_in.txt b/railties/doc/guides/routing/routing_outside_in.txt
index d450bf89f7..2c1870d9d4 100644
--- a/railties/doc/guides/routing/routing_outside_in.txt
+++ b/railties/doc/guides/routing/routing_outside_in.txt
@@ -256,7 +256,7 @@ PUT /photos/1 Images update update a specific image
DELETE /photos/1 Images destroy delete a specific image
--------------------------------------------------------------------------------------------
-NOTE: The helpers will be generated with the name of the resource, not the name of the controller. So in this case, you'd still get +photos_path+, +photos_new_path+, and so on.
+NOTE: The helpers will be generated with the name of the resource, not the name of the controller. So in this case, you'd still get +photos_path+, +new_photo_path+, and so on.
=== Controller Namespaces and Routing ===
@@ -321,7 +321,7 @@ PUT /images/1 Photos update update a specific photo
DELETE /images/1 Photos destroy delete a specific photo
--------------------------------------------------------------------------------------------
-NOTE: The helpers will be generated with the name of the resource, not the path name. So in this case, you'd still get +photos_path+, +photos_new_path+, and so on.
+NOTE: The helpers will be generated with the name of the resource, not the path name. So in this case, you'd still get +photos_path+, +new_photo_path+, and so on.
==== Using :path_names
@@ -376,7 +376,7 @@ map.resources :photos, :path_prefix => '/photographers/:photographer_id', :name_
map.resources :photos, :path_prefix => '/agencies/:agency_id', :name_prefix => 'agency_'
-------------------------------------------------------
-This combination will give you route helpers such as +photographer_photos_path+ and +agency_photo_edit_path+ to use in your code.
+This combination will give you route helpers such as +photographer_photos_path+ and +agency_edit_photo_path+ to use in your code.
=== Nested Resources