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

Added matches scaffold and ascended views of weights and schools

This commit is contained in:
Jacob Cody Wimer
2014-01-24 15:16:33 -05:00
parent ec17963c28
commit 7f8718af35
24 changed files with 339 additions and 4 deletions

View File

@@ -42,7 +42,7 @@
</thead>
<tbody>
<% @wrestlers.each do |wrestler| %>
<% @wrestlers.order("weight_id asc").each do |wrestler| %>
<% if wrestler.school_id == @school.id %>
<tr>
<td><%= wrestler.name %></td>