Permalink
Browse files

Fixed old routing mapper example in generated routes.rb

  • Loading branch information...
1 parent 0fec53f commit b2ef6d13f0a0b3d07b8a2f9a1ec64988ba7e4392 @josh josh committed Dec 10, 2009
@@ -269,7 +269,7 @@ def freeze!(args={})
#
# === Example
#
- # route "map.root :controller => :welcome"
+ # route "root :to => 'welcome'"
#
def route(routing_code)
log :route, routing_code
@@ -46,7 +46,7 @@
# resources :products
# end
- # You can have the root of your site routed with map.root
+ # You can have the root of your site routed with "root"
# just remember to delete public/index.html.
# root :to => "welcome"

0 comments on commit b2ef6d1

Please sign in to comment.