Module: ActionController::Components::InstanceMethods

Defined in:
lib/action_controller/components.rb

Instance Method Summary collapse

Instance Method Details

#process_with_components(request, response, method = :perform_action, *arguments) ⇒ Object

Extracts the action_name from the request parameters and performs that action.



73
74
75
76
# File 'lib/action_controller/components.rb', line 73

def process_with_components(request, response, method = :perform_action, *arguments) #:nodoc:
  flash.discard if component_request?
  process_without_components(request, response, method, *arguments)
end