aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/routing.textile
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2011-11-05 20:45:11 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2011-11-05 20:45:11 +0530
commitfdbc4e5f4e5746ebf558485348c841b33f038fda (patch)
tree4c1e573125a858d5912e03f8bdf1babcc43f7a92 /railties/guides/source/routing.textile
parent2751e213d8611f74796c7eea876e4ee9f26e6862 (diff)
parent09298e42578740094130f4a6536b944a7733d7f1 (diff)
downloadrails-fdbc4e5f4e5746ebf558485348c841b33f038fda.tar.gz
rails-fdbc4e5f4e5746ebf558485348c841b33f038fda.tar.bz2
rails-fdbc4e5f4e5746ebf558485348c841b33f038fda.zip
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'railties/guides/source/routing.textile')
-rw-r--r--railties/guides/source/routing.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/routing.textile b/railties/guides/source/routing.textile
index f281009fee..29c729592b 100644
--- a/railties/guides/source/routing.textile
+++ b/railties/guides/source/routing.textile
@@ -620,7 +620,7 @@ You can specify what Rails should route +"/"+ to with the +root+ method:
root :to => 'pages#main'
</ruby>
-You should put the +root+ route at the end of the file. 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. You also need to delete the +public/index.html+ file for the root route to take effect.
h3. Customizing Resourceful Routes