Merge branch 'fix-namespace-select' into 'master'
Fix namespace select Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/371
This commit is contained in:
commit
5c5a02da31
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue