More contract tweaks

This commit is contained in:
2014-03-02 21:48:49 -07:00
parent d8311fa7cc
commit 3cd6c59df0
14 changed files with 53 additions and 20 deletions

View File

@@ -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 %>

View File

@@ -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 %>