diff --git a/actionpack/lib/action_dispatch/routing.rb b/actionpack/lib/action_dispatch/routing.rb index d78b1c4f71361..cf586b5f25aaf 100644 --- a/actionpack/lib/action_dispatch/routing.rb +++ b/actionpack/lib/action_dispatch/routing.rb @@ -120,9 +120,9 @@ module ActionDispatch # # # In config/routes.rb # controller :blog do - # get 'blog/show', to: :list - # get 'blog/delete', to: :delete - # get 'blog/edit', to: :edit + # get 'blog/show' => :list + # get 'blog/delete' => :delete + # get 'blog/edit' => :edit # end # # # provides named routes for show, delete, and edit