From 4ccddd9c2b2ff8c551c834c556e0b58002ff5d85 Mon Sep 17 00:00:00 2001 From: Leena Gupte Date: Wed, 17 Aug 2016 15:07:42 +0100 Subject: [PATCH] Update the content schema The content schemas were modified in PR: https://github.com/alphagov/govuk-content-schemas/pull/374 The content published by the calculators app has to conform to the updated schema. --- app/presenters/calculator_content_item.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/presenters/calculator_content_item.rb b/app/presenters/calculator_content_item.rb index ef667533..c40b0d66 100644 --- a/app/presenters/calculator_content_item.rb +++ b/app/presenters/calculator_content_item.rb @@ -22,7 +22,8 @@ def payload { title: calculator.title, base_path: base_path, - format: 'placeholder_calculator', + schema_name: 'placeholder_calculator', + document_type: 'calculator_document', details: {}, publishing_app: 'calculators', rendering_app: 'calculators',