新增:转账记录使用json builder以及贡献者新增贡献占比

This commit is contained in:
2023-03-08 11:05:24 +08:00
parent 90773483b8
commit 47a8f17073
6 changed files with 12 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
total_count = @contributors.size
json.list @contributors.each do |contributor|
json.partial! 'contributor', locals: { contributor: contributor }
json.partial! 'contributor', locals: { contributor: contributor, project: @project }
end
json.total_count total_count