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", } %>