Browse Source

组织首页改版,增加精选、新闻

pull/342/head
xxq250 3 years ago
parent
commit
30787db1e7
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      app/views/organizations/is_pinned_projects/index.json.jbuilder

+ 7
- 0
app/views/organizations/is_pinned_projects/index.json.jbuilder View File

@@ -0,0 +1,7 @@
json.total_count @is_pinned_projects.total_count
json.projects @is_pinned_projects.each do |project|
json.partial! "projects/project_detail", project: project&.project
json.id project.id
json.position project.position
json.project_id project.project_id
end

Loading…
Cancel
Save