aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--guides/source/routing.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/routing.md b/guides/source/routing.md
index 7a83fee617..c309704176 100644
--- a/guides/source/routing.md
+++ b/guides/source/routing.md
@@ -1160,7 +1160,7 @@ class Video < ApplicationRecord
end
video = Video.find_by(identifier: "Roman-Holiday")
-edit_videos_path(video) # => "/videos/Roman-Holiday"
+edit_videos_path(video) # => "/videos/Roman-Holiday/edit"
```
Inspecting and Testing Routes