aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
diff options
context:
space:
mode:
authorwycats <wycats@gmail.com>2010-04-10 17:35:31 -0400
committerwycats <wycats@gmail.com>2010-04-10 17:35:31 -0400
commit093ab3ec6e476f53a84eb90a3b1944c7e961f204 (patch)
tree765937304ce6c9d58fa229db4639baddb1918d6b /railties/guides
parent381f877bbbbf81d679f5be3b7ac7e961d41502bd (diff)
downloadrails-093ab3ec6e476f53a84eb90a3b1944c7e961f204.tar.gz
rails-093ab3ec6e476f53a84eb90a3b1944c7e961f204.tar.bz2
rails-093ab3ec6e476f53a84eb90a3b1944c7e961f204.zip
Use <plain>, not <pre> in guides
Diffstat (limited to 'railties/guides')
-rw-r--r--railties/guides/source/routing.textile4
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.