Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Routing guide: Fix path

  • Loading branch information...
commit 52ed3404bc0daf9a13fe83d5a56dbe50b0ad6340 1 parent b7a305f
@josiahivey josiahivey authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/guides/source/routing.textile
View
2  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) |
Please sign in to comment.
Something went wrong with that request. Please try again.