修复课程成员不能编辑、删除、添加的问题

This commit is contained in:
huang 2015-10-28 14:57:10 +08:00
parent 4f8bea35f5
commit 5bcc9c21f2
1 changed files with 6 additions and 2 deletions

View File

@ -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