From 3616b2fbd9045184d2ae0b16c298c32af8c13d69 Mon Sep 17 00:00:00 2001 From: Max Harden Date: Tue, 24 Aug 2021 16:33:58 +0100 Subject: [PATCH] Fix syntax on context param --- app/views/histories/10_downing_street.html.erb | 4 +--- app/views/histories/11_downing_street.html.erb | 4 +--- app/views/histories/1_horse_guards_road.html.erb | 4 +--- app/views/histories/king_charles_street.html.erb | 4 +--- app/views/histories/lancaster_house.html.erb | 4 +--- 5 files changed, 5 insertions(+), 15 deletions(-) diff --git a/app/views/histories/10_downing_street.html.erb b/app/views/histories/10_downing_street.html.erb index 003eb39bc..04f7c23f5 100644 --- a/app/views/histories/10_downing_street.html.erb +++ b/app/views/histories/10_downing_street.html.erb @@ -13,9 +13,7 @@ ] } %> <%= render "govuk_publishing_components/components/title", { - context: { - text: "History", - }, + context: "History", title: "10 Downing Street", } %> diff --git a/app/views/histories/11_downing_street.html.erb b/app/views/histories/11_downing_street.html.erb index a49140e6b..22b59f127 100644 --- a/app/views/histories/11_downing_street.html.erb +++ b/app/views/histories/11_downing_street.html.erb @@ -13,9 +13,7 @@ ] } %> <%= render "govuk_publishing_components/components/title", { - context: { - text: "History", - }, + context: "History", title: "11 Downing Street", } %> diff --git a/app/views/histories/1_horse_guards_road.html.erb b/app/views/histories/1_horse_guards_road.html.erb index 65aef80c9..f6835016e 100644 --- a/app/views/histories/1_horse_guards_road.html.erb +++ b/app/views/histories/1_horse_guards_road.html.erb @@ -13,9 +13,7 @@ ] } %> <%= render "govuk_publishing_components/components/title", { - context: { - text: "History", - }, + context: "History", title: "1 Horse Guards Road", } %> diff --git a/app/views/histories/king_charles_street.html.erb b/app/views/histories/king_charles_street.html.erb index dfbf8ed21..9af6983e9 100644 --- a/app/views/histories/king_charles_street.html.erb +++ b/app/views/histories/king_charles_street.html.erb @@ -13,9 +13,7 @@ ] } %> <%= render "govuk_publishing_components/components/title", { - context: { - text: "History", - }, + context: "History", title: "King Charles Street", } %> diff --git a/app/views/histories/lancaster_house.html.erb b/app/views/histories/lancaster_house.html.erb index cae270d15..442672ba8 100644 --- a/app/views/histories/lancaster_house.html.erb +++ b/app/views/histories/lancaster_house.html.erb @@ -13,9 +13,7 @@ ] } %> <%= render "govuk_publishing_components/components/title", { - context: { - text: "History", - }, + context:"History", title: "Lancaster House", } %>