instance method
render_component
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.2.3Signature
render_component(options)
Renders the component specified as the response for the current method
Parameters
-
optionsreq
Source
# File actionpack/lib/action_controller/components.rb, line 81
def render_component(options) #:doc:
component_logging(options) do
render_for_text(component_response(options, true).body, response.headers["Status"])
end
end
Defined in actionpack/lib/action_controller/components.rb line 81
· View on GitHub
· Improve this page
· Find usages on GitHub