summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMarin Jankovski <marin@gitlab.com>2014-06-19 14:20:25 +0200
committerMarin Jankovski <marin@gitlab.com>2014-06-19 14:20:25 +0200
commit26d1bd7c2a285da734ed0b8eab5c31cd5237caa4 (patch)
tree3f4713dab46751d929d967ad5776fccea43f943f /config
parent2c3626884efb86ac4477754780e5c5d612e5264e (diff)
downloadgitlab-ce-26d1bd7c2a285da734ed0b8eab5c31cd5237caa4.tar.gz
Set return url as param.
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 746e532a0ec..779cbad709c 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -157,7 +157,7 @@ Gitlab::Application.routes.draw do
resources :projects, constraints: { id: /[^\/]+/ }, only: [:new, :create]
- devise_for :users, controllers: { omniauth_callbacks: :omniauth_callbacks, registrations: :registrations , passwords: :passwords}
+ devise_for :users, controllers: { omniauth_callbacks: :omniauth_callbacks, registrations: :registrations , passwords: :passwords, sessions: :users_sessions }
#
# Project Area