From 58130cf1fe0974be69c297dd4e7abf3eb1693419 Mon Sep 17 00:00:00 2001 From: Juanito Fatas Date: Fri, 27 Mar 2015 03:30:11 +0800 Subject: Add missing :html option in determine_template error message. --- actionview/lib/action_view/renderer/template_renderer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actionview/lib/action_view/renderer/template_renderer.rb b/actionview/lib/action_view/renderer/template_renderer.rb index cd21d7ab47..dbb4855e39 100644 --- a/actionview/lib/action_view/renderer/template_renderer.rb +++ b/actionview/lib/action_view/renderer/template_renderer.rb @@ -40,7 +40,7 @@ module ActionView 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 -- cgit v1.2.3