Class: ExceptionHunter::Devise::SessionsController

Inherits:
Devise::SessionsController
  • Object
show all
Defined in:
lib/exception_hunter/devise.rb

Overview

Used so we can integrate with Devise and provide a custom login on the dashboard.

Instance Method Summary collapse

Instance Method Details

#after_sign_in_path_forObject



14
15
16
# File 'lib/exception_hunter/devise.rb', line 14

def (*)
  '/exception_hunter'
end

#after_sign_out_path_forObject



10
11
12
# File 'lib/exception_hunter/devise.rb', line 10

def after_sign_out_path_for(*)
  '/exception_hunter/login'
end