templates/app/controllers/hq/sessions_controller.rb in cybele-1.6.0 vs templates/app/controllers/hq/sessions_controller.rb in cybele-1.7.0

- old
+ new

@@ -1,3 +1,16 @@ class Hq::SessionsController < Devise::SessionsController layout '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 \ No newline at end of file