diff --git a/app/views/layouts/design_system.html.erb b/app/views/layouts/design_system.html.erb index da186e223d6..e2c3e6c11cb 100644 --- a/app/views/layouts/design_system.html.erb +++ b/app/views/layouts/design_system.html.erb @@ -14,7 +14,7 @@ <%= render "govuk_publishing_components/components/layout_for_admin", product_name:, environment: environment, - browser_title: ("Error: " if yield(:error_summary).present?).to_s + sanitized_title do %> + browser_title: controller_name do %>