summaryrefslogtreecommitdiff
path: root/app/views/matches/index.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/matches/index.html.erb')
-rw-r--r--app/views/matches/index.html.erb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/matches/index.html.erb b/app/views/matches/index.html.erb
index 0742770..71db08c 100644
--- a/app/views/matches/index.html.erb
+++ b/app/views/matches/index.html.erb
@@ -5,6 +5,7 @@
<tr>
<th>Tournament</th>
<th>Name</th>
+ <th>Winner</th>
<th></th>
<th></th>
<th></th>
@@ -16,6 +17,7 @@
<tr>
<td><%= match.tournament %></td>
<td><%= match.name %></td>
+ <td><%= match.winner %></td>
<td><%= link_to 'Show', match %></td>
<td><%= link_to 'Edit', edit_match_path(match) %></td>
<td><%= link_to 'Destroy', match, method: :delete, data: { confirm: 'Are you sure?' } %></td>