From 6e98989c95c3e90ffef4ddad891d0893ef08f26f Mon Sep 17 00:00:00 2001 From: George Claghorn Date: Tue, 11 Dec 2012 04:29:19 -0500 Subject: [PATCH] Update guides/source/routing.md It's no longer necessary to delete public/index.html for the root route to take effect. --- guides/source/routing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.