diff options
| author | Douwe Maan <douwe@gitlab.com> | 2015-04-18 12:06:50 +0200 |
|---|---|---|
| committer | Douwe Maan <douwe@gitlab.com> | 2015-04-18 12:06:50 +0200 |
| commit | 80657c818c3219ad15321bae975a6db7745b0f23 (patch) | |
| tree | b8c096c50efe433e31fad37a2d9b98857d198532 /app/controllers/application_controller.rb | |
| parent | a66953b16bab5ecf874958d1acb3520ed7490559 (diff) | |
| download | gitlab-ce-80657c818c3219ad15321bae975a6db7745b0f23.tar.gz | |
Redirect to sign in page after signing out.
Diffstat (limited to 'app/controllers/application_controller.rb')
| -rw-r--r-- | app/controllers/application_controller.rb | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
