Sha256: 9b86d4cb3bf7ee6872173256eba16f417cbdb20ba721dbad3b11ee21ef112da5

Contents?: true

Size: 350 Bytes

Versions: 3

Compression:

Stored size: 350 Bytes

Contents

class Hq::SessionsController < Devise::SessionsController
  layout 'hq/login'

  private

  # Overwriting the sign_out redirect path method
  def after_sign_in_path_for(resource_or_scope)
    hq_root_path
  end

  # Overwriting the sign_out redirect path method
  def after_sign_out_path_for(resource_or_scope)
    new_admin_session_path
  end
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cybele-1.9.2 templates/app/controllers/hq/sessions_controller.rb
cybele-1.9.1 templates/app/controllers/hq/sessions_controller.rb
cybele-1.9.0 templates/app/controllers/hq/sessions_controller.rb