noesya/osuny

View on GitHub
app/controllers/users/sessions_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage
D
66%
class Users::SessionsController < Devise::SessionsController
  include Users::AddContextToRequestParams
  include Users::LayoutChoice

  # DELETE /resource/sign_out
  def destroy
    current_user.invalidate_all_sessions!
    super
  end

end