Permalink
Browse files

Use <plain>, not <pre> in guides

  • Loading branch information...
1 parent 381f877 commit 093ab3ec6e476f53a84eb90a3b1944c7e961f204 @wycats wycats committed Apr 10, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 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.

0 comments on commit 093ab3e

Please sign in to comment.