测试版

This commit is contained in:
huang 2015-12-18 18:28:20 +08:00
parent 8d0463169e
commit 4dda355d2e
1 changed files with 3 additions and 3 deletions

View File

@ -22,10 +22,10 @@ module ProjectScoreHelper
#代码提交数量 #代码提交数量
def changesets_num project def changesets_num project
# g = Gitlab.client g = Gitlab.client
# project.gpid.nil? ? 0 : g.commits_total_count(project.gpid) project.gpid.nil? ? 0 : g.commits_total_count(project.gpid)
# commits_total_count(project.gpid) # commits_total_count(project.gpid)
project.changesets.count # project.changesets.count
end end
#讨论区帖子数量 #讨论区帖子数量