Module: UzuUzu::Controller

Includes:
Helper::Controller
Defined in:
lib/uzuuzu-core/controller.rb,
lib/uzuuzu-core/controller/index.rb,
lib/uzuuzu-core/controller/login/google.rb,
lib/uzuuzu-core/controller/login/twitter.rb,
lib/uzuuzu-core/controller/login/facebook.rb

Defined Under Namespace

Modules: Login Classes: Index

Class Method Summary collapse

Methods included from Helper::Controller

#action, #application, #controller, #dm, #h, #helper, #instance_variable_map, #logger, #query, #query_string, #request, #response, #route, #s3, #session, #u

Class Method Details

.after_allObject



21
22
# File 'lib/uzuuzu-core/controller.rb', line 21

def self.after_all
end

.before_allObject



17
18
19
# File 'lib/uzuuzu-core/controller.rb', line 17

def self.before_all
  ::UzuUzu.logger.debug "params : #{::UzuUzu::Request.current.params}"
end

.currentObject



13
14
15
# File 'lib/uzuuzu-core/controller.rb', line 13

def self.current
  Thread.current[:controller]
end