Permalink
Browse files

Fix typo in match :to docs

  • Loading branch information...
1 parent d693bd2 commit e6fca559a1d6d52c55be5ba5629b13d79839feb3 @glitterfang glitterfang committed with vijaydev Feb 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_dispatch/routing/mapper.rb
View
2 actionpack/lib/action_dispatch/routing/mapper.rb
@@ -331,7 +331,7 @@ def root(options = {})
# +call+ or a string representing a controller's action.
#
# match 'path', :to => 'controller#action'
- # match 'path', :to => lambda { [200, {}, "Success!"] }
+ # match 'path', :to => lambda { |env| [200, {}, "Success!"] }
# match 'path', :to => RackApp
#
# [:on]

0 comments on commit e6fca55

Please sign in to comment.