mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
fix named route example [ci skip]
This commit is contained in:
parent
1a4deb9664
commit
e73f9bed62
1 changed files with 3 additions and 3 deletions
|
@ -118,11 +118,11 @@ module ActionDispatch
|
||||||
# controller :blog do
|
# controller :blog do
|
||||||
# get 'blog/show' => :list
|
# get 'blog/show' => :list
|
||||||
# get 'blog/delete' => :delete
|
# get 'blog/delete' => :delete
|
||||||
# get 'blog/edit/:id' => :edit
|
# get 'blog/edit' => :edit
|
||||||
# end
|
# end
|
||||||
#
|
#
|
||||||
# # provides named routes for show, delete, and edit
|
# # provides named routes for show, delete and edit
|
||||||
# link_to @article.title, show_path(id: @article.id)
|
# link_to @article.title, blog_show_path(id: @article.id)
|
||||||
#
|
#
|
||||||
# == Pretty URLs
|
# == Pretty URLs
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue