about summary refs log tree commit diff
path: root/app/controllers/auth/sessions_controller.rb
blob: 1418ab2ca5b03a6bb9c872bcfc6a91d498ea2e2a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class Auth::SessionsController < Devise::SessionsController
  include Devise::Controllers::Rememberable

  layout 'auth'

  def create
    super do |resource|
      remember_me(resource)
    end
  end

  protected

  def after_sign_in_path_for(_resource)
    root_path
  end
end