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.



92
93
94
95
# File 'lib/action_controller/components.rb', line 92

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