diff options
author | Jose Donizetti <jdbjunior@gmail.com> | 2016-05-19 00:06:48 -0400 |
---|---|---|
committer | Jose Donizetti <jdbjunior@gmail.com> | 2016-05-19 08:02:40 -0400 |
commit | e73f9bed62a138dc0f2a78dfa4eda7d3292ba1aa (patch) | |
tree | 5ed559a70b08dbffc180a3e04e6f1d6fb96d45be /actionpack/lib | |
parent | 1a4deb9664bbb9f69a8fd73d6da3ac0e8c4405b6 (diff) | |
download | rails-e73f9bed62a138dc0f2a78dfa4eda7d3292ba1aa.tar.gz rails-e73f9bed62a138dc0f2a78dfa4eda7d3292ba1aa.tar.bz2 rails-e73f9bed62a138dc0f2a78dfa4eda7d3292ba1aa.zip |
fix named route example [ci skip]
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_dispatch/routing.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_dispatch/routing.rb b/actionpack/lib/action_dispatch/routing.rb index 67f441dfec..64f8636c52 100644 --- a/actionpack/lib/action_dispatch/routing.rb +++ b/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 # |