绝对成

This commit is contained in:
huang 2015-12-18 21:03:36 +08:00
parent 5941d41b19
commit d2ba950044
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ module ProjectScoreHelper
#代码提交数量
def changesets_num project
g = Gitlab.client
project.gpid.nil? ? 0 : g.commits_total_count(project.gpid)["count"]
project.gpid.nil? ? 0 : g.commits_total_count(project.gpid).count
# # commits_total_count(project.gpid)
# project.changesets.count
end