You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
279 B

  1. class Auth::SessionsController < Devise::SessionsController
  2. include Devise::Controllers::Rememberable
  3. layout 'auth'
  4. def create
  5. super do |resource|
  6. remember_me(resource)
  7. end
  8. end
  9. protected
  10. def after_sign_in_path_for(_resource)
  11. root_path
  12. end
  13. end