summaryrefslogtreecommitdiff
path: root/app/views/matches/index.html.erb
diff options
context:
space:
mode:
authorDavisLWebb <davislwebb@ymail.com>2014-03-07 10:44:05 -0500
committerDavisLWebb <davislwebb@ymail.com>2014-03-07 10:44:05 -0500
commitd9a19d269bb773d676cf049dbf58d675c3fa0db9 (patch)
tree8b34bedd28961427bdeac906d6fa25613a813ad5 /app/views/matches/index.html.erb
parentf69fcc28596700c1a875068b7cb616d6eb40e6df (diff)
I changed some of the views for the tournaments and matches (like how match creation asked for a winner)
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>