Class: MoriController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/mori_controller.rb

Instance Method Summary collapse

Instance Method Details

#current_userObject



2
3
4
# File 'app/controllers/mori_controller.rb', line 2

def current_user
  warden.user
end

#wardenObject



5
6
7
# File 'app/controllers/mori_controller.rb', line 5

def warden
  env['warden']
end