More contract tweaks
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
<% else %>
|
||||
<%= link_to 'Certifications', certifications_path if can? :read, Certification %>
|
||||
<% end %>
|
||||
<%= link_to 'Waivers', contracts_path if can? :read, Contract %>
|
||||
<%= link_to 'Payments', payments_path if can? :create, Payment %>
|
||||
<%= link_to 'Computers', macs_path if user_signed_in? || (can? :read, Mac) %>
|
||||
<%= link_to 'Settings', settings_path if can? :read, Setting %>
|
||||
|
||||
@@ -89,6 +89,7 @@
|
||||
<% else %>
|
||||
<%= li_link_to 'Certifications', certifications_path if can? :read, Certification %>
|
||||
<% end %>
|
||||
<%= li_link_to 'Waivers', contracts_path if can? :read, Contract %>
|
||||
<%= li_link_to 'Computers', macs_path if user_signed_in? || (can? :read, Mac) %>
|
||||
<%= li_link_to 'Payments', payments_path if can? :create, Payment %>
|
||||
<%= li_link_to 'Settings', settings_path if can? :read, Setting %>
|
||||
|
||||
Reference in New Issue
Block a user