diff --git a/app/views/competitions/competitions/common_header.json.jbuilder b/app/views/competitions/competitions/common_header.json.jbuilder index c2af41a6c..45e030847 100644 --- a/app/views/competitions/competitions/common_header.json.jbuilder +++ b/app/views/competitions/competitions/common_header.json.jbuilder @@ -12,6 +12,8 @@ json.published @competition.published? json.nearly_published @competition.published_at.present? json.competition_status @competition.competition_status +json.avatar_url url_to_avatar(@competition) + json.competition_modules @competition_modules do |com_module| json.(com_module, :id, :name, :position, :module_type) json.module_url com_module.module_url