提交 83429b1e 编写于 作者: R Rafael Mendonça França

Merge pull request #19536 from JuanitoFatas/doc/av-determine_template

Add missing :html option in determine_template error message.
......@@ -40,7 +40,7 @@ def determine_template(options)
find_template(options[:template], options[:prefixes], false, keys, @details)
end
else
raise ArgumentError, "You invoked render but did not give any of :partial, :template, :inline, :file, :plain, :text or :body option."
raise ArgumentError, "You invoked render but did not give any of :partial, :template, :inline, :file, :plain, :html, :text or :body option."
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册