aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
diff options
context:
space:
mode:
authorUmar Sheikh <umar.m.sheikh@gmail.com>2010-12-13 11:18:49 +0500
committerUmar Sheikh <umar.m.sheikh@gmail.com>2010-12-13 11:18:49 +0500
commit0b5671ccca4a9f55379c913a211d669e241ad20c (patch)
tree6b8a877b64f7a77acdb803bf471a33b97d8218c6 /railties/guides
parenta81f68e879198cb4e01f3cda2671c93f1ef0bc1a (diff)
downloadrails-0b5671ccca4a9f55379c913a211d669e241ad20c.tar.gz
rails-0b5671ccca4a9f55379c913a211d669e241ad20c.tar.bz2
rails-0b5671ccca4a9f55379c913a211d669e241ad20c.zip
for the root route to work, we need to delete the public/index.html.erb
file as well
Diffstat (limited to 'railties/guides')
-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