aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--guides/code/getting_started/config/routes.rb3
-rw-r--r--railties/lib/rails/generators/rails/app/templates/config/routes.rb3
2 files changed, 4 insertions, 2 deletions
diff --git a/guides/code/getting_started/config/routes.rb b/guides/code/getting_started/config/routes.rb
index 04a6bd374e..724edf4727 100644
--- a/guides/code/getting_started/config/routes.rb
+++ b/guides/code/getting_started/config/routes.rb
@@ -55,7 +55,8 @@ Blog::Application.routes.draw do
# just remember to delete public/index.html.
root :to => "welcome#index"
- # See how all your routes lay out with "rake routes"
+ # See how all your routes lay out by running `$ rake routes`
+ # or by visiting `/rails/info/routes` in your browser
# This is a legacy wild controller route that's not recommended for RESTful applications.
# Note: This route will make all actions in every controller accessible via GET requests.
diff --git a/railties/lib/rails/generators/rails/app/templates/config/routes.rb b/railties/lib/rails/generators/rails/app/templates/config/routes.rb
index f6b1ef1feb..1b32629465 100644
--- a/railties/lib/rails/generators/rails/app/templates/config/routes.rb
+++ b/railties/lib/rails/generators/rails/app/templates/config/routes.rb
@@ -51,5 +51,6 @@
# end
- # See how all your routes lay out with "rake routes".
+ # See how all your routes lay out by running `$ rake routes`
+ # or by visiting `/rails/info/routes` in your browser
end