aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Moss <maclover7@users.noreply.github.com>2016-02-24 16:54:31 -0500
committerJon Moss <maclover7@users.noreply.github.com>2016-02-24 16:54:31 -0500
commitc889942368e194d0559d6d90d9e17e4f17c77f09 (patch)
treedbf9e5837cec20f0d0b238920f7821902d36b2af
parent73f8c16601e51480d007dca5a33f2035293bdd23 (diff)
parenta39e195aefce67a404b6425fe73f351a6e4fb60d (diff)
downloadrails-c889942368e194d0559d6d90d9e17e4f17c77f09.tar.gz
rails-c889942368e194d0559d6d90d9e17e4f17c77f09.tar.bz2
rails-c889942368e194d0559d6d90d9e17e4f17c77f09.zip
Merge pull request #23866 from abhishekjain16/document
[ci skip] Replace usage of rake routes with rails routes
-rw-r--r--actionpack/lib/action_dispatch/journey/route.rb2
-rw-r--r--actionpack/lib/action_dispatch/routing/inspector.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/journey/route.rb b/actionpack/lib/action_dispatch/journey/route.rb
index fee08fc3db..cfd6681dd1 100644
--- a/actionpack/lib/action_dispatch/journey/route.rb
+++ b/actionpack/lib/action_dispatch/journey/route.rb
@@ -82,7 +82,7 @@ module ActionDispatch
end
def requirements # :nodoc:
- # needed for rails `rake routes`
+ # needed for rails `rails routes`
@defaults.merge(path.requirements).delete_if { |_,v|
/.+?/ == v
}
diff --git a/actionpack/lib/action_dispatch/routing/inspector.rb b/actionpack/lib/action_dispatch/routing/inspector.rb
index 6f651a5689..5d30a545a2 100644
--- a/actionpack/lib/action_dispatch/routing/inspector.rb
+++ b/actionpack/lib/action_dispatch/routing/inspector.rb
@@ -51,7 +51,7 @@ module ActionDispatch
##
# This class is just used for displaying route information when someone
- # executes `rake routes` or looks at the RoutingError page.
+ # executes `rails routes` or looks at the RoutingError page.
# People should not use this class.
class RoutesInspector # :nodoc:
def initialize(routes)