Module: ActionController::SessionManagement

Defined in:
lib/action_controller/session_management.rb

Overview

:nodoc:

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



10
11
12
13
14
15
16
# File 'lib/action_controller/session_management.rb', line 10

def self.included(base)
  base.class_eval do
    extend ClassMethods
    alias_method_chain :process, :session_management_support
    alias_method_chain :process_cleanup, :session_management_support
  end
end

Instance Method Details

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

:nodoc:



128
129
130
131
# File 'lib/action_controller/session_management.rb', line 128

def process_with_session_management_support(request, response, method = :perform_action, *arguments) #:nodoc:
  set_session_options(request)
  process_without_session_management_support(request, response, method, *arguments)
end