1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #32840 from rakio1234/patch-1

Fix output in routing.md [ci skip]
This commit is contained in:
Vipul A M 2018-05-07 17:51:48 +05:30 committed by GitHub
commit 92bd822c54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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