method

component_response

rails latest stable - Class: ActionController::Components::InstanceMethods

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.2.1) is shown here.

component_response(options, reuse_response)
private

No documentation available.

# File actionpack/lib/action_controller/components.rb, line 115
        def component_response(options, reuse_response)
          klass    = component_class(options)
          request  = request_for_component(klass.controller_name, options)
          new_response = reuse_response ? response : response.dup

          klass.process_with_components(request, new_response, self)
        end