Permalink
Browse files

Fix typo in match :to docs

  • Loading branch information...
1 parent e1f799a commit b229bc70e50ec0887c5bb3aaaa9c6ee8af054026 @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
@@ -325,7 +325,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 b229bc7

Please sign in to comment.