Skip to content

Commit 2af3d84

Browse files
committed
Remove ActionView::Renderer#render_template
This seems to be making a pair with `#render_partial` but in reality it's no longer refered to from anywhere. Since it is marked with nodoc, I propose to get rid of it. As far as I can tell from my non-comprehensive research, this method was introduced in the commit b735761, became practically private in f984907 and unused in 1bc0a59.
1 parent a2ed343 commit 2af3d84

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

actionview/lib/action_view/renderer/renderer.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,6 @@ def render_body(context, options)
4545
end
4646
end
4747

48-
# Direct access to template rendering.
49-
def render_template(context, options) # :nodoc:
50-
render_template_to_object(context, options).body
51-
end
52-
53-
# Direct access to partial rendering.
5448
def render_partial(context, options, &block) # :nodoc:
5549
render_partial_to_object(context, options, &block).body
5650
end

0 commit comments

Comments
 (0)