提交 313c528e 编写于 作者: V Vijay Dev

copy edit routing guide [ci skip]

上级 983687a9
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册