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.



89
90
91
92
# File 'lib/action_controller/components.rb', line 89

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