提交 27a4e934 编写于 作者: S sealocal

remove doc reference to ActionController::MimeResponds#respond_to

上级 36b359f8
......@@ -188,9 +188,6 @@ module MimeResponds
# format.html.none
# format.html.phone # this gets rendered
# end
#
# Be sure to check the documentation of <tt>ActionController::MimeResponds.respond_to</tt>
# for more examples.
def respond_to(*mimes)
raise ArgumentError, "respond_to takes either types or a block, never both" if mimes.any? && block_given?
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册