From 5dcb53acb385fe9b0469db5e8efa4a24eb468028 Mon Sep 17 00:00:00 2001 From: Ian James Date: Fri, 4 Jun 2021 12:13:49 +0100 Subject: [PATCH] Update header logo link --- app/views/root/_error_page.html.erb | 1 + app/views/root/_gem_base.html.erb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/root/_error_page.html.erb b/app/views/root/_error_page.html.erb index 0d7881bc8..c3d07e144 100644 --- a/app/views/root/_error_page.html.erb +++ b/app/views/root/_error_page.html.erb @@ -20,6 +20,7 @@ emergency_banner: emergency_banner, full_width: false, global_bar: user_satisfaction_survey + global_bar, + logo_link: Plek.new.website_root.present? ? Plek.new.website_root : "https://www.gov.uk/", title: "#{heading} - GOV.UK", } do %>
diff --git a/app/views/root/_gem_base.html.erb b/app/views/root/_gem_base.html.erb index c41fdc026..e1457f12a 100644 --- a/app/views/root/_gem_base.html.erb +++ b/app/views/root/_gem_base.html.erb @@ -19,6 +19,7 @@ emergency_banner: emergency_banner, full_width: full_width, global_bar: user_satisfaction_survey + global_bar, + logo_link: Plek.new.website_root.present? ? Plek.new.website_root : "https://www.gov.uk/", navigation_items: [ { text: "Account", @@ -45,5 +46,4 @@ }, }], title: content_for?(:title) ? yield(:title) : "GOV.UK - The best place to find government services and information", - } %>