aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorschneems <richard.schneeman@gmail.com>2012-09-24 22:51:11 -0500
committerschneems <richard.schneeman@gmail.com>2012-09-24 22:51:11 -0500
commitbfafa999ddaa203224ac0222203517a0d2a3f6bf (patch)
tree33e4d75f4564c35f1ccfdb68bffaf91d2cb11af5 /guides
parent150561779d3231c21add60936e14d7177997da13 (diff)
downloadrails-bfafa999ddaa203224ac0222203517a0d2a3f6bf.tar.gz
rails-bfafa999ddaa203224ac0222203517a0d2a3f6bf.tar.bz2
rails-bfafa999ddaa203224ac0222203517a0d2a3f6bf.zip
add documentation to generated routes
Mention that in addition to `rake routes` a developer can also visit `/rails/info/routes` in the browser.
Diffstat (limited to 'guides')
-rw-r--r--guides/code/getting_started/config/routes.rb3
1 files changed, 2 insertions, 1 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.