Use project owner if no namespace. Restyled team page
This commit is contained in:
parent
8bf340f568
commit
eb3e07a509
13 changed files with 96 additions and 79 deletions
|
@ -292,4 +292,8 @@ class Project < ActiveRecord::Base
|
|||
merge_requests
|
||||
end
|
||||
end
|
||||
|
||||
def namespace_owner
|
||||
namespace.try(:owner)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue