add: user project trends

This commit is contained in:
2021-05-27 16:40:15 +08:00
parent c2449d59af
commit ff1c80d1de
8 changed files with 42 additions and 19 deletions

View File

@@ -0,0 +1,4 @@
json.total_count @project_trends.total_count
json.project_trends @project_trends.each do |trend|
json.partial! "project_trends/detail", trend: trend
end