Commit 47c6525a authored by Brett Walker's avatar Brett Walker

remove unnecessary devise_scope

parent f9f46722
...@@ -13,8 +13,6 @@ end ...@@ -13,8 +13,6 @@ end
# for secondary email confirmations # for secondary email confirmations
devise_for :emails, controllers: { confirmations: :confirmations } devise_for :emails, controllers: { confirmations: :confirmations }
devise_scope :email do
end
scope(constraints: { username: Gitlab::PathRegex.root_namespace_route_regex }) do scope(constraints: { username: Gitlab::PathRegex.root_namespace_route_regex }) do
scope(path: 'users/:username', scope(path: 'users/:username',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment