From b83ab5df9d55732b1f747c152c3ac14697fb1873 Mon Sep 17 00:00:00 2001 From: Ray Carrick Date: Thu, 11 Mar 2021 11:19:47 +0000 Subject: [PATCH] test for home page failed when org admin --- app/views/layouts/_navigation.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/_navigation.html.erb b/app/views/layouts/_navigation.html.erb index 5fd4e0156f..e2d4883fb3 100644 --- a/app/views/layouts/_navigation.html.erb +++ b/app/views/layouts/_navigation.html.erb @@ -59,7 +59,7 @@ <%= render "layouts/signin_signout" %> - <% unless active_page?(root_path, true) || user_signed_in? %> + <% unless user_signed_in? || ((controller_name.eql? "home") && (action_name.eql? "index")) %> <%= render partial: 'shared/access_controls', layout: 'shared/modal', locals: { id: "header-signin", title: _('Sign in')} %> <% end %>