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