Permalink
Browse files

Fix the documentation for root :to. It should use a fully qualified c…

…ontroller#action syntax (Closes #3606)
  • Loading branch information...
1 parent be225ad commit 76e732a7be690f09d1e5d6c97138a6eb7d263423 @dhh dhh committed Dec 22, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/generators/rails/app/templates/config/routes.rb
@@ -48,7 +48,7 @@
# 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"

0 comments on commit 76e732a

Please sign in to comment.