From d5badc4513309a9efeb2d6c92ddd6dbab5159c58 Mon Sep 17 00:00:00 2001
From: Perry Smith <pedz@easesoftware.com>
Date: Sun, 24 Jun 2012 10:01:46 -0500
Subject: Fixed example in 1.2 so help will be defined as the text implies

---
 guides/source/routing.textile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

(limited to 'guides/source')

diff --git a/guides/source/routing.textile b/guides/source/routing.textile
index dae25853cd..70b602a243 100644
--- a/guides/source/routing.textile
+++ b/guides/source/routing.textile
@@ -32,7 +32,13 @@ the request is dispatched to the +patients+ controller's +show+ action with <tt>
 
 h4. Generating Paths and URLs from Code
 
-You can also generate paths and URLs. If your application contains this code:
+You can also generate paths and URLs.  If the route above is modified to be
+
+<ruby>
+get "/patients/:id" => "patients#show", :as => "patient"
+</ruby>
+
+If your application contains this code:
 
 <ruby>
 @patient = Patient.find(17)
-- 
cgit v1.2.3