Commit 5c5a02da authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'fix-namespace-select' into 'master'

Fix namespace select

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/371
parents 0f0a96ab 1817b9ae
......@@ -372,7 +372,7 @@ class User < ActiveRecord::Base
end
def several_namespaces?
owned_groups.any?
owned_groups.any? || masters_groups.any?
end
def namespace_id
......
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