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, 1 insertions, 1 deletions
diff --git a/app/views/matches/index.html.erb b/app/views/matches/index.html.erb
index ff42ef1..60df1b5 100644
--- a/app/views/matches/index.html.erb
+++ b/app/views/matches/index.html.erb
@@ -15,7 +15,7 @@
<tbody>
<% @tournament.matches.each do |match| %>
<tr>
- <td><%= match.tournament %></td>
+ <td><%= match.tournament.id %></td>
<td><%= match.name %></td>
<td><%= match.winner %></td>
<td><%= link_to 'Show', tournament_match_path(@tournament, match) %></td>