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

All brackets only accessable by tournament owner

This commit is contained in:
2015-12-23 14:54:30 +00:00
parent ccf00a4e1c
commit dd23d1246d

View File

@@ -5,4 +5,6 @@
<%= link_to "#{weight.max}" , "/tournaments/#{@tournament.id}/brackets/#{weight.id}" %>
<br>
<% end %>
<%= link_to "All Brackets", "/tournaments/#{@tournament.id}/all_brackets?print=true" %>
<% if tournament_permissions(@tournament) %>
<%= link_to "All Brackets (Printable)", "/tournaments/#{@tournament.id}/all_brackets?print=true" %>
<% end %>