Merge pull request #50588 from sato11/remove-actionview-renderer-render-template

Remove `ActionView::Renderer#render_template`
This commit is contained in:
Rafael Mendonça França 2024-01-05 10:06:20 -05:00 committed by GitHub
commit e7cf982700
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -45,12 +45,6 @@ def render_body(context, options)
end
end
# Direct access to template rendering.
def render_template(context, options) # :nodoc:
render_template_to_object(context, options).body
end
# Direct access to partial rendering.
def render_partial(context, options, &block) # :nodoc:
render_partial_to_object(context, options, &block).body
end