forgeplus/app/views/project_trends/last.json.jbuilder

9 lines
197 B
Ruby

json.partial! "commons/success"
json.total_count @project_trends_count
json.project_trends do
json.array! @project_trends.to_a.each do |trend|
json.partial! "detail", trend: trend
end
end