From 52ed3404bc0daf9a13fe83d5a56dbe50b0ad6340 Mon Sep 17 00:00:00 2001
From: Josiah Ivey <josiah.ivey@gmail.com>
Date: Sun, 13 Jun 2010 10:29:32 -0500
Subject: Routing guide: Fix path

---
 railties/guides/source/routing.textile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'railties/guides/source/routing.textile')

diff --git a/railties/guides/source/routing.textile b/railties/guides/source/routing.textile
index cf733bd6f8..54af42a03f 100644
--- a/railties/guides/source/routing.textile
+++ b/railties/guides/source/routing.textile
@@ -204,7 +204,7 @@ In each of these cases, the named routes remain the same as if you did not use +
 |GET     |photos/new    |new      | photos_path         |
 |POST    |photos        |create   | photos_path         |
 |GET     |photos/1      |show     | photo_path(id)      |
-|GET     |photos/1/edit |edit     | dmin_photo_path(id) |
+|GET     |photos/1/edit |edit     | edit_photo_path(id) |
 |PUT     |photos/1      |update   | photo_path(id)      |
 |DELETE  |photos/1      |destroy  | photo_path(id)      |
 
-- 
cgit v1.2.3

