Fix typo in match :to docs

This commit is contained in:
Justin Woodbridge
2012-02-23 17:31:56 -05:00
committed by Vijay Dev
parent e1f799a42f
commit b229bc70e5

View File

@@ -325,7 +325,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]