mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Revert "Merge pull request #12208 from mjhoy/patch-1"
This reverts commitab5cd54b7e
, reversing changes made tocdc10c898d
. Reason: This way of defining root path is still supported. Seed262773ab7/actionpack/test/controller/routing_test.rb (L450-457)
This commit is contained in:
parent
d262773ab7
commit
0851bd95c7
1 changed files with 4 additions and 0 deletions
|
@ -319,6 +319,10 @@ module ActionDispatch
|
|||
#
|
||||
# For options, see +match+, as +root+ uses it internally.
|
||||
#
|
||||
# You can also pass a string which will expand
|
||||
#
|
||||
# root 'pages#main'
|
||||
#
|
||||
# You should put the root route at the top of <tt>config/routes.rb</tt>,
|
||||
# because this means it will be matched first. As this is the most popular route
|
||||
# of most Rails applications, this is beneficial.
|
||||
|
|
Loading…
Reference in a new issue