From 5a7aaff11292702a557c0dd17b11ebe722247330 Mon Sep 17 00:00:00 2001 From: xxq250 Date: Tue, 28 Feb 2023 09:37:18 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BE=A4=E6=99=BA=E7=86=B5=E5=88=86=E6=9E=90?= =?UTF-8?q?=E6=8A=A5=E8=A1=A8=E6=8E=A5=E5=8F=A3=E8=B0=83=E6=95=B4=E5=88=B0?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E5=8A=A8=E6=80=81=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/api/v1/projects/code_stats/index.json.jbuilder | 5 +---- app/views/project_trends/index.json.jbuilder | 3 +++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/api/v1/projects/code_stats/index.json.jbuilder b/app/views/api/v1/projects/code_stats/index.json.jbuilder index c41fbc1ba..3f98fa1ee 100644 --- a/app/views/api/v1/projects/code_stats/index.json.jbuilder +++ b/app/views/api/v1/projects/code_stats/index.json.jbuilder @@ -11,7 +11,4 @@ json.authors @result_object["authors"].each do |author| json.commits author["commits"] json.additions author["additions"] json.deletions author["deletions"] -end -json.ai_shang_v1_url ai_shang_v1_url(@project) -json.ai_shang_v2_url ai_shang_v2_url(@project) -json.ai_shang_v3_url ai_shang_v3_url(@project) \ No newline at end of file +end \ No newline at end of file diff --git a/app/views/project_trends/index.json.jbuilder b/app/views/project_trends/index.json.jbuilder index 6dca7bdb5..14f975236 100644 --- a/app/views/project_trends/index.json.jbuilder +++ b/app/views/project_trends/index.json.jbuilder @@ -14,4 +14,7 @@ json.project_trends do json.partial! "detail", trend: trend end end +json.ai_shang_v1_url ai_shang_v1_url(@project) +json.ai_shang_v2_url ai_shang_v2_url(@project) +json.ai_shang_v3_url ai_shang_v3_url(@project)