Renders the component specified as the response for the current method
Source Code
# File action_controller/components.rb, line 79 def render_component(options) #:doc: component_logging(options) do render_for_text(component_response(options, true).body, response.headers["Status"]) end end
<code/>and<pre/>for code samples.