From 30787db1e7eff73e4f43e42130b0f58aafeedd36 Mon Sep 17 00:00:00 2001 From: xxq250 Date: Mon, 10 Apr 2023 15:43:56 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=84=E7=BB=87=E9=A6=96=E9=A1=B5=E6=94=B9?= =?UTF-8?q?=E7=89=88=EF=BC=8C=E5=A2=9E=E5=8A=A0=E7=B2=BE=E9=80=89=E3=80=81?= =?UTF-8?q?=E6=96=B0=E9=97=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../organizations/is_pinned_projects/index.json.jbuilder | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 app/views/organizations/is_pinned_projects/index.json.jbuilder diff --git a/app/views/organizations/is_pinned_projects/index.json.jbuilder b/app/views/organizations/is_pinned_projects/index.json.jbuilder new file mode 100644 index 000000000..c4c93dfe6 --- /dev/null +++ b/app/views/organizations/is_pinned_projects/index.json.jbuilder @@ -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 \ No newline at end of file