instance method
render
Ruby on Rails 4.0.13
Since v3.0.20Signature
render(*args, &block)
Normalize arguments, options and then delegates render_to_body and sticks the result in self.response_body.
Parameters
-
argsrest -
blockblock
Source
# File actionpack/lib/abstract_controller/rendering.rb, line 95
def render(*args, &block)
options = _normalize_render(*args, &block)
self.response_body = render_to_body(options)
end
Defined in actionpack/lib/abstract_controller/rendering.rb line 95
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in AbstractController::Rendering