Permalink
Browse files

Fix typo in match :to docs

  • Loading branch information...
1 parent f75f5d2 commit 62b1f1a62d3f534a7841794d9fd434964143f76a @glitterfang glitterfang committed 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
@@ -328,7 +328,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 62b1f1a

Please sign in to comment.