remove unnecessary devise_scope

This commit is contained in:
Brett Walker 2017-09-06 18:24:46 +02:00
parent f9f4672275
commit 47c6525a98

View file

@ -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',