Fix typo in match :to docs

This commit is contained in:
Justin Woodbridge 2012-02-23 17:31:56 -05:00
parent f75f5d216f
commit 62b1f1a62d
1 changed files with 1 additions and 1 deletions

View File

@ -328,7 +328,7 @@ module ActionDispatch
# +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]