From 9f5622f6a34e7d6c1d701394206b9dfb7afe926c Mon Sep 17 00:00:00 2001 From: George Claghorn Date: Tue, 11 Dec 2012 01:18:30 -0500 Subject: 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. --- railties/lib/rails/templates/rails/welcome/index.html.erb | 2 ++ 1 file changed, 2 insertions(+) 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 @@
  • +

    Set up a root route to replace this page

    +

    You're seeing this page because you're running in development mode and you haven't set a root route yet.

    Routes are set up in config/routes.rb.

  • -- cgit v1.2.3