新增:转账记录使用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

@@ -0,0 +1,5 @@
json.total_count @total_count
json.projects @projects.each do |p|
json.partial! 'projects/detail', locals: { project: p[:project] }
json.balance p[:balance]
end