修复课程成员不能编辑、删除、添加的问题
This commit is contained in:
parent
4f8bea35f5
commit
5bcc9c21f2
|
@ -42,11 +42,15 @@ module Trustie
|
|||
end
|
||||
|
||||
def repository
|
||||
project.repository
|
||||
unless project.nil?
|
||||
project.repository
|
||||
end
|
||||
end
|
||||
|
||||
def isGitlabProject?
|
||||
repository && repository.gitlab?
|
||||
unless repository.nil?
|
||||
repository && repository.gitlab?
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue