提交 534ca83e 编写于 作者: C Claudio B.

Merge pull request #20375 from yoongkang/docfix

[ci skip] match without via is now deprecated
......@@ -806,7 +806,7 @@ def scope(*args)
# Scopes routes to a specific controller
#
# controller "food" do
# match "bacon", action: "bacon"
# match "bacon", action: :bacon, via: :get
# end
def controller(controller, options={})
options[:controller] = controller
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册