mirror of https://github.com/rails/rails
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 commitb735761
, became practically private inf984907
and unused in1bc0a59
.
This commit is contained in:
parent
a2ed3437e3
commit
2af3d84987
|
@ -45,12 +45,6 @@ module ActionView
|
|||
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