method
component_response
v1.0.0 -
Show latest stable
- Class:
ActionController::Components
component_response(options, reuse_response = true)private
No documentation available.
# File actionpack/lib/action_controller/components.rb, line 52
def component_response(options, reuse_response = true)
begin
ActionController::Flash::FlashHash.avoid_sweep = true
p = component_class(options).process(request_for_component(options), reuse_response ? @response : response_for_component)
ensure
ActionController::Flash::FlashHash.avoid_sweep = false
end
p
end