diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2016-06-03 14:00:47 +0000 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2016-06-03 14:00:47 +0000 |
commit | 4e85538dddf47877cacc65cea6c050e349af0405 (patch) | |
tree | 302517b50aa4eb1fbccf520b752dffda68807c1a /actionpack | |
parent | 082a5158251c6578714132e5c4f71bd39f462d71 (diff) | |
parent | cf2158cbbf12a3a00c780ef5136f11b77c566713 (diff) | |
download | rails-4e85538dddf47877cacc65cea6c050e349af0405.tar.gz rails-4e85538dddf47877cacc65cea6c050e349af0405.tar.bz2 rails-4e85538dddf47877cacc65cea6c050e349af0405.zip |
Merge branch 'master' of github.com:rails/docrails
Conflicts:
guides/source/action_cable_overview.md
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_dispatch/routing.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/lib/action_dispatch/routing.rb b/actionpack/lib/action_dispatch/routing.rb index dd6ac9db9c..61ebd0b8db 100644 --- a/actionpack/lib/action_dispatch/routing.rb +++ b/actionpack/lib/action_dispatch/routing.rb @@ -89,7 +89,7 @@ module ActionDispatch # # Example: # - # # In routes.rb + # # In config/routes.rb # get '/login' => 'accounts#login', as: 'login' # # # With render, redirect_to, tests, etc. @@ -101,7 +101,7 @@ module ActionDispatch # # Use <tt>root</tt> as a shorthand to name a route for the root path "/". # - # # In routes.rb + # # In config/routes.rb # root to: 'blogs#index' # # # would recognize http://www.example.com/ as @@ -114,7 +114,7 @@ module ActionDispatch # Note: when using +controller+, the route is simply named after the # method you call on the block parameter rather than map. # - # # In routes.rb + # # In config/routes.rb # controller :blog do # get 'blog/show' => :list # get 'blog/delete' => :delete @@ -196,7 +196,7 @@ module ActionDispatch # # Rails.application.reload_routes! # - # This will clear all named routes and reload routes.rb if the file has been modified from + # This will clear all named routes and reload config/routes.rb if the file has been modified from # last load. To absolutely force reloading, use <tt>reload!</tt>. # # == Testing Routes |