Merge pull request #50588 from sato11/remove-actionview-renderer-render-template
Remove `ActionView::Renderer#render_template`
This commit is contained in:
commit
e7cf982700
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user