From 6a41049e1de36eda58d728e7eba2285db2ac68fa Mon Sep 17 00:00:00 2001 From: Jasder <2053003901@@qq.com> Date: Thu, 13 Feb 2020 22:48:40 +0800 Subject: [PATCH] ADD some count --- app/views/repositories/show.json.jbuilder | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/repositories/show.json.jbuilder b/app/views/repositories/show.json.jbuilder index 33f23c106..e79002ded 100644 --- a/app/views/repositories/show.json.jbuilder +++ b/app/views/repositories/show.json.jbuilder @@ -1,5 +1,7 @@ json.identifier @repo.identifier json.project_id @project.id +json.issues_count @project.issues_count +json.pull_requests_count @project.pull_requests_count json.project_identifier @project.identifier json.praises_count @repo.project.praises_count json.forked_count @repo.project.forked_count