22 lines
576 B
Text
22 lines
576 B
Text
<div class="container">
|
|
<ul>
|
|
<% if policy([:staff, :person]).index? %>
|
|
<li>
|
|
<%= link_to Person.model_name.human(count: 0), staff_people_path %>
|
|
</li>
|
|
<% end %>
|
|
|
|
<% if policy([:staff, :passport]).index? %>
|
|
<li>
|
|
<%= link_to Passport.model_name.human(count: 0), staff_passports_path %>
|
|
</li>
|
|
<% end %>
|
|
|
|
<% if policy([:staff, :membership_app]).index? %>
|
|
<li>
|
|
<%= link_to MembershipApp.model_name.human(count: 0),
|
|
staff_membership_apps_path %>
|
|
</li>
|
|
<% end %>
|
|
</ul>
|
|
</div>
|