From 79cb6926b2b241c12a1ae9402746622a4d812033 Mon Sep 17 00:00:00 2001 From: Paul Robert Lloyd Date: Wed, 27 Apr 2022 10:31:28 +0100 Subject: [PATCH] Ensure organisation link in primary navigation is highlighed when relevant --- app/views/layouts/application.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index acbd16816..6866095da 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -75,7 +75,7 @@ <% items = [ { name: "Logs", url: case_logs_path, comparable_urls: ["/logs"] }, { name: "Users", url: users_organisation_path(current_user.organisation), comparable_urls: ["/users", "/account"] }, - { name: "About your organisation", url: "/organisations/#{current_user.organisation.id}", comparable_urls: ["/details"] }, + { name: "About your organisation", url: "/organisations/#{current_user.organisation.id}", comparable_urls: ["/organisations"] }, ] %> <% end %> <%= render PrimaryNavigationComponent.new(items:) %>