Skip to content

Commit 0b30d66

Browse files
committed
Revert "add documentation to generated routes"
This reverts commit bfafa99. Changes in templates aren't allowed in docrails. [ci skip]
1 parent 5917c6e commit 0b30d66

File tree

2 files changed

+2
-4
lines changed
  • guides/code/getting_started/config
  • railties/lib/rails/generators/rails/app/templates/config

2 files changed

+2
-4
lines changed

guides/code/getting_started/config/routes.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@
5555
# just remember to delete public/index.html.
5656
root :to => "welcome#index"
5757

58-
# See how all your routes lay out by running `$ rake routes`
59-
# or by visiting `/rails/info/routes` in your browser
58+
# See how all your routes lay out with "rake routes"
6059

6160
# This is a legacy wild controller route that's not recommended for RESTful applications.
6261
# Note: This route will make all actions in every controller accessible via GET requests.

railties/lib/rails/generators/rails/app/templates/config/routes.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,5 @@
5151
# end
5252

5353

54-
# See how all your routes lay out by running `$ rake routes`
55-
# or by visiting `/rails/info/routes` in your browser
54+
# See how all your routes lay out with "rake routes".
5655
end

0 commit comments

Comments
 (0)