protected Method

InstanceMethods.render_component(options)

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
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.