Method: ActiveAuthentication::SessionsController#destroy

Defined in:
app/controllers/active_authentication/sessions_controller.rb

#destroyObject



30
31
32
33
34
35
# File 'app/controllers/active_authentication/sessions_controller.rb', line 30

def destroy
  run_callbacks :sign_out do
    sign_out
  end
  redirect_to root_url, notice: t(".success")
end