aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorJosiah Ivey <josiah.ivey@gmail.com>2010-06-13 10:29:32 -0500
committerJosiah Ivey <josiah.ivey@gmail.com>2010-06-13 10:29:32 -0500
commit52ed3404bc0daf9a13fe83d5a56dbe50b0ad6340 (patch)
tree3ba1a152a515a359ac5e0aaaa5c10a82151ee102 /railties
parentb7a305f0cb7bf0cebc6f053b9faa45433809ce0d (diff)
downloadrails-52ed3404bc0daf9a13fe83d5a56dbe50b0ad6340.tar.gz
rails-52ed3404bc0daf9a13fe83d5a56dbe50b0ad6340.tar.bz2
rails-52ed3404bc0daf9a13fe83d5a56dbe50b0ad6340.zip
Routing guide: Fix path
Diffstat (limited to 'railties')
-rw-r--r--railties/guides/source/routing.textile2
1 files changed, 1 insertions, 1 deletions
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) |