Sha256: a1a22a9fc5efa3d7df1b714fc8f1bb9a34c3db7ca001265f62a77bb8665fd883

Contents?: true

Size: 363 Bytes

Versions: 5

Compression:

Stored size: 363 Bytes

Contents

# frozen_string_literal: true

class User::SessionsController < Devise::SessionsController
  private

  # Overwriting the sign_out redirect path method
  def after_sign_in_path_for(_resource_or_scope)
    user_root_path
  end

  # Overwriting the sign_out redirect path method
  def after_sign_out_path_for(_resource_or_scope)
    new_user_session_path
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cybele-2.3.2 templates/app_files/app/controllers/user/sessions_controller.rb
cybele-2.3.1 templates/app_files/app/controllers/user/sessions_controller.rb
cybele-2.2.0 templates/app_files/app/controllers/user/sessions_controller.rb
cybele-2.1.0 templates/app_files/app/controllers/user/sessions_controller.rb
cybele-2.0.0 templates/app_files/app/controllers/user/sessions_controller.rb