mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-17 13:24:36 +00:00
Refactored names of methods and some db column
This commit is contained in:
@@ -18,13 +18,13 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<% @school.wrestlers.each do |wrestler| %>
|
||||
<% wrestler.allMatches.each do |m| %>
|
||||
<% wrestler.all_matches.each do |m| %>
|
||||
<tr>
|
||||
<td> <%= wrestler.name %>
|
||||
<td><%= m.bout_number %></td>
|
||||
<td><%= m.bracket_position %></td>
|
||||
<td><%= m.list_w1_stats %><br><%= m.list_w2_stats %></td>
|
||||
<td><%= wrestler.resultByBout(m.bout_number) %>
|
||||
<td><%= wrestler.result_by_bout(m.bout_number) %>
|
||||
</tr>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user