1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Only tournament owners can delegate tournament permissions

This commit is contained in:
2016-01-08 13:17:30 +00:00
parent fb157887a6
commit cffd70e9f6

View File

@@ -21,7 +21,9 @@
<br><%= link_to "Weigh In Page" , "/tournaments/#{@tournament.id}/weigh_in" %>
<br><%= link_to "All Matches" , "/tournaments/#{@tournament.id}/matches" %>
<br><%= link_to "Full Screen Bout Board" , "/tournaments/#{@tournament.id}/up_matches?print=true" %>
<br><%= link_to "Tournament Delegation" , "/tournaments/#{@tournament.id}/delegate" %>
<% if can? :destroy, @tournament %>
<br><%= link_to "Tournament Delegation" , "/tournaments/#{@tournament.id}/delegate" %>
<% end %>
<br><%= link_to "School Delegation" , "/tournaments/#{@tournament.id}/school_delegate"%>
<br><br><strong>Time Savers</strong><br>