diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2009-12-21 16:53:52 -0800 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2009-12-21 16:54:04 -0800 |
commit | 76e732a7be690f09d1e5d6c97138a6eb7d263423 (patch) | |
tree | 32ed38b74dc1a71cbd67763262d4490176b0670b | |
parent | be225adafbec267353fa7260179b0ce5a72e4283 (diff) | |
download | rails-76e732a7be690f09d1e5d6c97138a6eb7d263423.tar.gz rails-76e732a7be690f09d1e5d6c97138a6eb7d263423.tar.bz2 rails-76e732a7be690f09d1e5d6c97138a6eb7d263423.zip |
Fix the documentation for root :to. It should use a fully qualified controller#action syntax (Closes #3606)
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/routes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/routes.rb b/railties/lib/rails/generators/rails/app/templates/config/routes.rb index 0d1b6bab4f..e28ff42bdd 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/routes.rb +++ b/railties/lib/rails/generators/rails/app/templates/config/routes.rb @@ -48,7 +48,7 @@ ActionController::Routing::Routes.draw do |map| # You can have the root of your site routed with "root" # just remember to delete public/index.html. - # root :to => "welcome" + # root :to => "welcome#index" # See how all your routes lay out with "rake routes" |