Module: Appoxy::Sessions::ApplicationController

Defined in:
lib/sessions/application_controller.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'lib/sessions/application_controller.rb', line 6

def self.included(base)
  # Initialize module.
  base.helper_method :logged_in?
  base.helper_method :current_user
  base.helper_method :base_url

  base.after_filter :close_sdb_connection
  base.before_filter :clear_sdb_stats

  base.helper_method :facebook_oauth_url
  base.helper_method :is_mobile_device?
  base.helper_method :is_device?

end