From 80657c818c3219ad15321bae975a6db7745b0f23 Mon Sep 17 00:00:00 2001 From: Douwe Maan Date: Sat, 18 Apr 2015 12:06:50 +0200 Subject: Redirect to sign in page after signing out. --- CHANGELOG | 1 + app/controllers/application_controller.rb | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index be96d712439..76ecf771b40 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -12,6 +12,7 @@ v 7.11.0 (unreleased) - v 7.10.0 (unreleased) + - Redirect to sign in page after signing out. - Allow projects to be imported from Google Code. - Allow users to be invited by email to join a group or project. - Don't crash when project repository doesn't exist. diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 920a981e7c9..5a63b496fab 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -87,6 +87,10 @@ class ApplicationController < ActionController::Base end end + def after_sign_out_path_for(resource) + new_user_session_path + end + def abilities Ability.abilities end -- cgit v1.2.1