diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-09-28 22:49:43 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-09-28 22:49:43 +0530 |
commit | 0b30d668fa8188077c04da938272db05e9b3c461 (patch) | |
tree | 2cbe6a59354887d38957327b68558902b954a311 | |
parent | 5917c6eb285b0327ab340ee2933db88d5f5ba3bd (diff) | |
download | rails-0b30d668fa8188077c04da938272db05e9b3c461.tar.gz rails-0b30d668fa8188077c04da938272db05e9b3c461.tar.bz2 rails-0b30d668fa8188077c04da938272db05e9b3c461.zip |
Revert "add documentation to generated routes"
This reverts commit bfafa999ddaa203224ac0222203517a0d2a3f6bf.
Changes in templates aren't allowed in docrails.
[ci skip]
-rw-r--r-- | guides/code/getting_started/config/routes.rb | 3 | ||||
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/routes.rb | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/guides/code/getting_started/config/routes.rb b/guides/code/getting_started/config/routes.rb index 724edf4727..04a6bd374e 100644 --- a/guides/code/getting_started/config/routes.rb +++ b/guides/code/getting_started/config/routes.rb @@ -55,8 +55,7 @@ Blog::Application.routes.draw do # just remember to delete public/index.html. root :to => "welcome#index" - # See how all your routes lay out by running `$ rake routes` - # or by visiting `/rails/info/routes` in your browser + # See how all your routes lay out with "rake routes" # 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. diff --git a/railties/lib/rails/generators/rails/app/templates/config/routes.rb b/railties/lib/rails/generators/rails/app/templates/config/routes.rb index 1b32629465..f6b1ef1feb 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/routes.rb +++ b/railties/lib/rails/generators/rails/app/templates/config/routes.rb @@ -51,6 +51,5 @@ # end - # See how all your routes lay out by running `$ rake routes` - # or by visiting `/rails/info/routes` in your browser + # See how all your routes lay out with "rake routes". end |