diff options
author | George Claghorn <george@georgeclaghorn.com> | 2012-12-11 04:29:19 -0500 |
---|---|---|
committer | George Claghorn <george@georgeclaghorn.com> | 2012-12-11 04:29:19 -0500 |
commit | 6e98989c95c3e90ffef4ddad891d0893ef08f26f (patch) | |
tree | 591f8d1d9bfeca7f3fd42466ab795a5c5c38b946 | |
parent | 0807f6e86155c7027e11e2ca2d40217ec035c3ed (diff) | |
download | rails-6e98989c95c3e90ffef4ddad891d0893ef08f26f.tar.gz rails-6e98989c95c3e90ffef4ddad891d0893ef08f26f.tar.bz2 rails-6e98989c95c3e90ffef4ddad891d0893ef08f26f.zip |
Update guides/source/routing.md
It's no longer necessary to delete public/index.html for the root route to take effect.
-rw-r--r-- | guides/source/routing.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/routing.md b/guides/source/routing.md index 5bf31a1583..14f23d4020 100644 --- a/guides/source/routing.md +++ b/guides/source/routing.md @@ -793,7 +793,7 @@ root to: 'pages#main' root 'pages#main' # shortcut for the above ``` -You should put the `root` route at the top of the file, because it is the most popular route and should be matched first. You also need to delete the `public/index.html` file for the root route to take effect. +You should put the `root` route at the top of the file, because it is the most popular route and should be matched first. NOTE: The `root` route only routes `GET` requests to the action. |