Skip to content

Commit

Permalink
Merge pull request #2832 from DMPRoadmap/nav_partial_fix
Browse files Browse the repository at this point in the history
test for home page failed when org admin
  • Loading branch information
raycarrick-ed authored Mar 11, 2021
2 parents 727da2c + b83ab5d commit b70bf1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/layouts/_navigation.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<%= render "layouts/signin_signout" %>
</ul>

<% 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 %>
</div><!-- /.navbar-collapse -->
Expand Down

0 comments on commit b70bf1d

Please sign in to comment.