From 9d3e4bd8fac565f3cbc8cacfb4c0882e8a3840f9 Mon Sep 17 00:00:00 2001 From: cxt <853663049@qq.com> Date: Thu, 24 Oct 2019 09:10:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/competitions/competitions/common_header.json.jbuilder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/competitions/competitions/common_header.json.jbuilder b/app/views/competitions/competitions/common_header.json.jbuilder index aed776c7f..c5732a51d 100644 --- a/app/views/competitions/competitions/common_header.json.jbuilder +++ b/app/views/competitions/competitions/common_header.json.jbuilder @@ -11,7 +11,7 @@ json.published @competition.published? json.nearly_published @competition.published_at.present? json.competition_modules @competition_modules do |com_module| - json.(com_module, :name, :position, :module_type) + json.(com_module, :id, :name, :position, :module_type) json.module_url com_module.module_url end