mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 20:00:49 +08:00
8 lines
235 B
Ruby
8 lines
235 B
Ruby
json.total_count @projects.total_count
|
|
|
|
json.projects @projects do |project|
|
|
json.owner do
|
|
json.partial! "api/v1/users/simple_user", user: project.owner
|
|
end
|
|
json.partial! "api/v1/projects/simple_detail", project: project
|
|
end |