Permalink
Browse files

Correct invalid route example [ci skip]

  • Loading branch information...
1 parent cf18298 commit 1423cf9b3bf950fd2b30f4620a5a5b039aa76477 @e2 e2 committed Apr 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/generators/actions.rb
View
2 railties/lib/rails/generators/actions.rb
@@ -239,7 +239,7 @@ def capify!
#
# === Example
#
- # route "root :to => 'welcome'"
+ # route "root :to => 'welcome#index'"
#
def route(routing_code)
log :route, routing_code

0 comments on commit 1423cf9

Please sign in to comment.