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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue