summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorBrett Walker <brett@digitalmoksha.com>2017-09-06 18:24:46 +0200
committerBrett Walker <brett@digitalmoksha.com>2017-09-23 15:23:11 +0200
commit47c6525a98d3b3d73301a9dd6b75464f2cff3a7b (patch)
treef1a3fbf38ab2bd00c57c4edd330f34d74900ba31 /config
parentf9f467227538df0ce2012df39dfdcf55fb260f94 (diff)
downloadgitlab-ce-47c6525a98d3b3d73301a9dd6b75464f2cff3a7b.tar.gz
remove unnecessary devise_scope
Diffstat (limited to 'config')
-rw-r--r--config/routes/user.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/config/routes/user.rb b/config/routes/user.rb
index 483d34ab4f3..c4b34402068 100644
--- a/config/routes/user.rb
+++ b/config/routes/user.rb
@@ -13,8 +13,6 @@ end
# for secondary email confirmations
devise_for :emails, controllers: { confirmations: :confirmations }
-devise_scope :email do
-end
scope(constraints: { username: Gitlab::PathRegex.root_namespace_route_regex }) do
scope(path: 'users/:username',