fix named route example [ci skip]
This commit is contained in:
parent
1a4deb9664
commit
e73f9bed62
@ -118,11 +118,11 @@ module ActionDispatch
|
||||
# controller :blog do
|
||||
# get 'blog/show' => :list
|
||||
# get 'blog/delete' => :delete
|
||||
# get 'blog/edit/:id' => :edit
|
||||
# get 'blog/edit' => :edit
|
||||
# end
|
||||
#
|
||||
# # provides named routes for show, delete, and edit
|
||||
# link_to @article.title, show_path(id: @article.id)
|
||||
# # provides named routes for show, delete and edit
|
||||
# link_to @article.title, blog_show_path(id: @article.id)
|
||||
#
|
||||
# == Pretty URLs
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user