diff options
-rw-r--r-- | railties/guides/source/routing.textile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/routing.textile b/railties/guides/source/routing.textile index 32b1e30502..7ac5bc8d3a 100644 --- a/railties/guides/source/routing.textile +++ b/railties/guides/source/routing.textile @@ -609,10 +609,10 @@ resources :photos, :path_names => { :new => 'make', :edit => 'change' } This would cause the routing to recognize URLs such as -<pre> +<plain> /photos/make /photos/1/change -</pre> +</plain> NOTE: The actual action names aren't changed by this option. The two URLs shown would still route to the new and edit actions. |