fix named route example [ci skip]

This commit is contained in:
Jose Donizetti 2016-05-19 00:06:48 -04:00
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
#