<div class="container">
<ul>
<% if policy(%i[staff person]).index? %>
<li>
<%= link_to Person.model_name.human(count: 0), staff_people_path %>
</li>
<% end %>
<% if policy(%i[staff passport]).index? %>
<%= link_to Passport.model_name.human(count: 0), staff_passports_path %>
</ul>
</div>