instance method
_render_template
Ruby on Rails 7.1.6
Since v5.2.8.1 PrivateSignature
_render_template(options)
Call render_body if we are streaming instead of usual render.
Parameters
-
optionsreq
Source
# File actionpack/lib/action_controller/metal/streaming.rb, line 252
def _render_template(options)
if options.delete(:stream)
Body.new view_renderer.render_body(view_context, options)
else
super
end
end
Defined in actionpack/lib/action_controller/metal/streaming.rb line 252
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::Streaming