method

component_response

rails latest stable - Class: ActionController::Components

Method deprecated or moved

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

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