aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing.rb
diff options
context:
space:
mode:
authorJon Moss <me@jonathanmoss.me>2016-05-19 12:41:59 -0400
committerJon Moss <me@jonathanmoss.me>2016-05-19 12:41:59 -0400
commit644db8a8ed31c65249c66ac41ad8c3eb5f9a7671 (patch)
tree98ad5e260ea3312bc7bce9b40c36bbb887b45c7c /actionpack/lib/action_dispatch/routing.rb
parent578ae253df4e122fe13232379cf0b5f34351834c (diff)
downloadrails-644db8a8ed31c65249c66ac41ad8c3eb5f9a7671.tar.gz
rails-644db8a8ed31c65249c66ac41ad8c3eb5f9a7671.tar.bz2
rails-644db8a8ed31c65249c66ac41ad8c3eb5f9a7671.zip
`routes.rb` --> `config/routes.rb`
For consistency. [ci skip]
Diffstat (limited to 'actionpack/lib/action_dispatch/routing.rb')
-rw-r--r--actionpack/lib/action_dispatch/routing.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/lib/action_dispatch/routing.rb b/actionpack/lib/action_dispatch/routing.rb
index 67f441dfec..337859feb1 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