diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-06-02 21:46:28 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-06-02 21:46:28 +0530 |
commit | 313c528e0b7343338864941b4391ec11d308935b (patch) | |
tree | eaada6892c057faaccbe87132416a5c14e3ef70f /guides/source | |
parent | 983687a9e55915c22b84b60b45ca2b40794cf9a2 (diff) | |
download | rails-313c528e0b7343338864941b4391ec11d308935b.tar.gz rails-313c528e0b7343338864941b4391ec11d308935b.tar.bz2 rails-313c528e0b7343338864941b4391ec11d308935b.zip |
copy edit routing guide [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/routing.textile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/guides/source/routing.textile b/guides/source/routing.textile index 6bd08185be..7941e655bb 100644 --- a/guides/source/routing.textile +++ b/guides/source/routing.textile @@ -861,7 +861,9 @@ Rails offers facilities for inspecting and testing your routes. h4. Seeing Existing Routes -If you want a complete list of all 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. If your local server is not running, you can execute the +rake routes+ command in your terminal to produce the same output. 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) |