1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-14 08:58:29 +00:00

Fixed redirect for match editing and added controller tests. Added wrestler school name to match edit form. Added authorization tests to all matches page.

This commit is contained in:
2019-01-23 19:22:55 +00:00
parent bb8ec92bf0
commit b001445090
9 changed files with 52 additions and 21 deletions

View File

@@ -1,3 +1,2 @@
<h1><%= @w1.name %> VS. <%= @w2.name %></h1>
<% @redirect_path = "/tournaments/#{@tournament.id}/matches" %>
<%= render 'form' %>