提交 62b1f1a6 编写于 作者: J Justin Woodbridge

Fix typo in match :to docs

上级 f75f5d21
......@@ -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]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册