Permalink
Browse files

fix named route example [ci skip]

  • Loading branch information...
josedonizetti committed May 19, 2016
1 parent 1a4deb9 commit e73f9bed62a138dc0f2a78dfa4eda7d3292ba1aa
Showing with 3 additions and 3 deletions.
  1. +3 −3 actionpack/lib/action_dispatch/routing.rb
@@ -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
#

0 comments on commit e73f9be

Please sign in to comment.