1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-16 04:56:58 +00:00

Use match id instead of bout number when looking stuff up on bracket view.

This commit is contained in:
2021-12-22 13:13:44 +00:00
parent 6db1dacbb6
commit f0e8c99b9f
4 changed files with 26 additions and 4 deletions

View File

@@ -85,7 +85,7 @@
<td><%= m.bout_number %></td>
<td><%= m.bracket_position %></td>
<td><%= m.list_w1_stats %><br><%= m.list_w2_stats %></td>
<td><%= @wrestler.result_by_bout(m.bout_number) %>
<td><%= @wrestler.result_by_id(m.id) %>
</tr>
<% end %>
</tbody>