1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-05-14 17:33:35 +00:00

Finished setting owner for tournamenr and protecting paths

This commit is contained in:
2015-10-26 16:31:45 -04:00
parent ad9ea9dc42
commit d18e729012
16 changed files with 109 additions and 86 deletions

View File

@@ -31,9 +31,9 @@
<%= f.label :tournament_type %><br>
<%= f.select :tournament_type, @tournament.tournament_types %>
</div>
<%= f.hidden_field :user_id, :value => current_user.id %>
<br>
<br>
<%= f.hidden_field :user_id, :value => current_user.id %>
<div class="actions">
<%= f.submit 'Submit',:class=>"btn btn-success" %>
</div>