Class: Motor::SessionsController

Inherits:
ApiBaseController show all
Defined in:
app/controllers/motor/sessions_controller.rb

Instance Method Summary collapse

Methods included from CurrentAbility

#current_ability

Methods included from CurrentUserMethod

#current_user

Instance Method Details

#destroyObject


7
8
9
10
11
# File 'app/controllers/motor/sessions_controller.rb', line 7

def destroy
  session.clear

  head :ok
end