aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/routing.textile
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-12-15 20:18:36 +0100
committerXavier Noria <fxn@hashref.com>2010-12-15 20:18:36 +0100
commit3c9486f487384f65dfadae0b2f9045157963cbd9 (patch)
treefb2747d40ea33b29b238a66795dea5ae9b531332 /railties/guides/source/routing.textile
parent5d78b4c6f7829498e5d2a8cd4fceca0e24a3f64e (diff)
parent80382c7465af27194dc9644b8ba4c4ad458b7ef7 (diff)
downloadrails-3c9486f487384f65dfadae0b2f9045157963cbd9.tar.gz
rails-3c9486f487384f65dfadae0b2f9045157963cbd9.tar.bz2
rails-3c9486f487384f65dfadae0b2f9045157963cbd9.zip
Merge branch 'master' of git://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 7af9779ac7..32346e8f2b 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