From 8292c7dfce4b893588860053e50ef60ae9a0609a Mon Sep 17 00:00:00 2001 From: Mike Gunderloy Date: Tue, 30 Sep 2008 09:48:59 -0500 Subject: Fix several typos in route names. --- railties/doc/guides/routing/routing_outside_in.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'railties/doc/guides/routing/routing_outside_in.txt') 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 -- cgit v1.2.3