aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/routing.textile
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2010-12-15 22:35:32 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2010-12-15 22:35:32 +0530
commit7b0e1cb0ca901c6bb30cf18c1892b8de89a2475a (patch)
tree04a87fd666d4a2bf716d16fe6db5de32d6543a60 /railties/guides/source/routing.textile
parente15a55c862c98d05ff95e7fa3162ed1298ba8be7 (diff)
parent6fc3750471ff9642395c4e0462d5059c2133d9aa (diff)
downloadrails-7b0e1cb0ca901c6bb30cf18c1892b8de89a2475a.tar.gz
rails-7b0e1cb0ca901c6bb30cf18c1892b8de89a2475a.tar.bz2
rails-7b0e1cb0ca901c6bb30cf18c1892b8de89a2475a.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 bc38e4a6e5..74dee60c32 100644
--- a/railties/guides/source/routing.textile
+++ b/railties/guides/source/routing.textile
@@ -595,7 +595,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 should put the +root+ route at the end of the file. You also need to delete the public/index.html.erb file for the root route to take effect.
h3. Customizing Resourceful Routes