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


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

def self.included(base)
  base.extend(ClassMethods)

  base.send :alias_method, :process_without_session_management_support, :process
  base.send :alias_method, :process, :process_with_session_management_support

  base.send :alias_method, :process_cleanup_without_session_management_support, :process_cleanup
  base.send :alias_method, :process_cleanup, :process_cleanup_with_session_management_support
end

Instance Method Details

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

:nodoc:


115
116
117
118
# File 'lib/action_controller/session_management.rb', line 115

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