mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-18 21:42:16 +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:
@@ -1,11 +1,6 @@
|
||||
<strong>Mat <%= @mat.name %></strong>
|
||||
</p>
|
||||
<h3>Mat <%= @mat.name %></h3>
|
||||
<h3>Tournament: <%= @mat.tournament.name %></h3>
|
||||
|
||||
<p>
|
||||
<strong>Tournament:</strong>
|
||||
<%= @mat.tournament.name %>
|
||||
</p>
|
||||
<% @redirect_path = request.original_fullpath %>
|
||||
<% if @match %>
|
||||
<%= render 'matches/form' %>
|
||||
<% else %>
|
||||
|
||||
Reference in New Issue
Block a user