instance method
render_to_body
Ruby on Rails 7.1.6
Since v3.0.20Signature
render_to_body(options)
Called by render in AbstractController::Rendering which sets the return value as the response_body.
If no renderer is found, super returns control to ActionView::Rendering.render_to_body, if present.
Parameters
-
optionsreq
Source
# File actionpack/lib/action_controller/metal/renderers.rb, line 140
def render_to_body(options)
_render_to_body_with_renderer(options) || super
end
Defined in actionpack/lib/action_controller/metal/renderers.rb line 140
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::Renderers