Browse Source

Update header root link path

cldc-2812-run-app-from-relative-url
Rachael Booth 1 year ago
parent
commit
64d33a15be
  1. 2
      app/views/layouts/application.html.erb

2
app/views/layouts/application.html.erb

@ -87,7 +87,7 @@
<%= govuk_header(
classes: govuk_header_classes(current_user),
service_url: current_user.nil? ? "/" : "/logs",
service_url: current_user.nil? ? root_path : logs_path,
navigation_classes: "govuk-header__navigation--end",
) do |component|
component.product_name(name: t("service_name"))

Loading…
Cancel
Save