Skip to content

Commit e7cf982

Browse files
authored
Merge pull request rails#50588 from sato11/remove-actionview-renderer-render-template
Remove `ActionView::Renderer#render_template`
2 parents de30889 + 2af3d84 commit e7cf982

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)