aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/routing.textile
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2012-06-02 21:50:02 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2012-06-02 21:50:02 +0530
commit40d5303b4f1f32b1f97259052bd200a7e0792c7e (patch)
tree6879c06ca0b513636a8d882159a2da07ea701529 /guides/source/routing.textile
parenta769fe9db16a792164363b49e4c7f07f6e412eaa (diff)
parentab2bf8148c8000a5185b11b6c1b11d94ae33053d (diff)
downloadrails-40d5303b4f1f32b1f97259052bd200a7e0792c7e.tar.gz
rails-40d5303b4f1f32b1f97259052bd200a7e0792c7e.tar.bz2
rails-40d5303b4f1f32b1f97259052bd200a7e0792c7e.zip
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'guides/source/routing.textile')
-rw-r--r--guides/source/routing.textile6
1 files changed, 4 insertions, 2 deletions
diff --git a/guides/source/routing.textile b/guides/source/routing.textile
index 0773a96c67..7941e655bb 100644
--- a/guides/source/routing.textile
+++ b/guides/source/routing.textile
@@ -859,9 +859,11 @@ h3. Inspecting and Testing Routes
Rails offers facilities for inspecting and testing your routes.
-h4. Seeing Existing Routes with +rake+
+h4. Seeing Existing Routes
-If you want a complete list of all of the available routes in your application, run +rake routes+ command. This will print all of your routes, in the same order that they appear in +routes.rb+. For each route, you'll see:
+To get a complete list of the available routes in your application, visit +http://localhost:3000/rails/info/routes+ in your browser while your server is running in the *development* environment. You can also execute the +rake routes+ command in your terminal to produce the same output.
+
+Both methods will list all of your routes, in the same order that they appear in +routes.rb+. For each route, you'll see:
* The route name (if any)
* The HTTP verb used (if the route doesn't respond to all verbs)