还原提交次数
This commit is contained in:
parent
4dda355d2e
commit
e673540323
|
@ -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
|
||||||
|
|
||||||
#讨论区帖子数量
|
#讨论区帖子数量
|
||||||
|
|
Loading…
Reference in New Issue