Skip to content

Commit 9b39d18

Browse files
committed
Add :renderable to the list of rendering keys supported by ActionView::Renderer#render
Also, alphabetize the output list
1 parent 54c7357 commit 9b39d18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actionview/lib/action_view/renderer/template_renderer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def determine_template(options)
4949
@lookup_context.find_template(options[:template], options[:prefixes], false, keys, @details)
5050
end
5151
else
52-
raise ArgumentError, "You invoked render but did not give any of :partial, :template, :inline, :file, :plain, :html or :body option."
52+
raise ArgumentError, "You invoked render but did not give any of :body, :file, :html, :inline, :partial, :plain, :renderable, or :template option."
5353
end
5454
end
5555

0 commit comments

Comments
 (0)