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)