diff options
author | Ryan Bigg <radarlistener@gmail.com> | 2010-12-10 09:34:40 +1000 |
---|---|---|
committer | Ryan Bigg <radarlistener@gmail.com> | 2010-12-10 09:34:40 +1000 |
commit | f0d4b7f2a655ca2fb435af798714fee2de232d1e (patch) | |
tree | 5179b5da8a6be9a8bd93433a5f3d6d47d4c73439 | |
parent | fe0e3880e8ce8311882f3856b689c2f79a13ced4 (diff) | |
download | rails-f0d4b7f2a655ca2fb435af798714fee2de232d1e.tar.gz rails-f0d4b7f2a655ca2fb435af798714fee2de232d1e.tar.bz2 rails-f0d4b7f2a655ca2fb435af798714fee2de232d1e.zip |
root method options are the same as the match method
-rw-r--r-- | actionpack/lib/action_dispatch/routing/mapper.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb index cf95f6fa53..3039f88f71 100644 --- a/actionpack/lib/action_dispatch/routing/mapper.rb +++ b/actionpack/lib/action_dispatch/routing/mapper.rb @@ -247,6 +247,8 @@ module ActionDispatch # # root :to => 'pages#main' # + # For options, see the +match+ method's documentation, as +root+ uses it internally. + # # 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. |