summaryrefslogtreecommitdiff
path: root/app/controllers/application_controller.rb
diff options
context:
space:
mode:
authorAlex Lossent <alexandre.lossent@cern.ch>2015-05-29 17:42:27 +0200
committerAlex Lossent <alexandre.lossent@cern.ch>2015-05-29 18:20:15 +0200
commit60225a067dd69e047088dc73f1227fce071311e3 (patch)
tree62931326d34fe15c89a534f6e0e1f985944dee2c /app/controllers/application_controller.rb
parenta3b60982e59b7a3be052a62b5d89393d12c64562 (diff)
downloadgitlab-ce-60225a067dd69e047088dc73f1227fce071311e3.tar.gz
Allow to configure a URL to show after sign out
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r--app/controllers/application_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index e5da94b2327..62d46a5482e 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -89,7 +89,7 @@ class ApplicationController < ActionController::Base
end
def after_sign_out_path_for(resource)
- new_user_session_path
+ current_application_settings.after_sign_out_path || new_user_session_path
end
def abilities