提交 bfafa999 编写于 作者: S schneems

add documentation to generated routes

Mention that in addition to `rake routes` a developer can also visit `/rails/info/routes` in the browser.
上级 15056177
......@@ -55,7 +55,8 @@
# 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.
......
......@@ -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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册