mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-05-12 16:59:00 +00:00
Added logic to delegate tournament access
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<br>
|
||||
<% end %>
|
||||
<br>
|
||||
<% if tournament_permissions(@tournament) %>
|
||||
<% if can? :manage, @tournament %>
|
||||
<%= form_for(@tournament) do |f| %>
|
||||
<div class="field">
|
||||
<%= f.label :weigh_in_ref %><br>
|
||||
|
||||
Reference in New Issue
Block a user