mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-22 04:35:45 +08:00
新增: 用户项目列表以及helper方法
This commit is contained in:
5
app/views/api/v1/users/projects/index.json.jbuilder
Normal file
5
app/views/api/v1/users/projects/index.json.jbuilder
Normal file
@@ -0,0 +1,5 @@
|
||||
json.total_count @projects.total_count
|
||||
|
||||
json.projects @projects do |project|
|
||||
json.partial! "api/v1/projects/simple_detail", project: project
|
||||
end
|
||||
Reference in New Issue
Block a user