1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/app/views/staffs/home/show.html.erb

16 lines
372 B
Text
Raw Normal View History

2019-03-26 23:02:51 -04:00
<div class="container">
2019-03-27 01:34:59 -04:00
<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 %>
</ul>
2019-03-26 23:02:51 -04:00
</div>