aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Claghorn <george.claghorn@gmail.com>2012-12-11 01:18:30 -0500
committerGeorge Claghorn <george.claghorn@gmail.com>2012-12-11 01:43:02 -0500
commit9f5622f6a34e7d6c1d701394206b9dfb7afe926c (patch)
treef634d9540569e706367b376ce325aab7c6d17c96
parent377692e9410922bc508fafb42602187728d421e7 (diff)
downloadrails-9f5622f6a34e7d6c1d701394206b9dfb7afe926c.tar.gz
rails-9f5622f6a34e7d6c1d701394206b9dfb7afe926c.tar.bz2
rails-9f5622f6a34e7d6c1d701394206b9dfb7afe926c.zip
Explain how to supersede the new dynamic welcome page
The old, static welcome page instructed developers to delete the public/index.html file and set a root route. The new, dynamic welcome page should tell developers (a) why they're seeing it when it doesn't correspond to anything in the viewable app source and (b) that it can be superseded with a root route.
-rw-r--r--railties/lib/rails/templates/rails/welcome/index.html.erb2
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/lib/rails/templates/rails/welcome/index.html.erb b/railties/lib/rails/templates/rails/welcome/index.html.erb
index 6a1754d81e..9a62d206dc 100644
--- a/railties/lib/rails/templates/rails/welcome/index.html.erb
+++ b/railties/lib/rails/templates/rails/welcome/index.html.erb
@@ -223,6 +223,8 @@
</li>
<li>
+ <h2>Set up a root route to replace this page</h2>
+ <p>You're seeing this page because you're running in development mode and you haven't set a root route yet.</p>
<p>Routes are set up in <span class="filename">config/routes.rb</span>.</p>
</li>