diff options
Diffstat (limited to 'app/views/tournaments/index.html.erb')
-rw-r--r-- | app/views/tournaments/index.html.erb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/tournaments/index.html.erb b/app/views/tournaments/index.html.erb index 7124111..ad2b7cf 100644 --- a/app/views/tournaments/index.html.erb +++ b/app/views/tournaments/index.html.erb @@ -3,6 +3,7 @@ <table> <thead> <tr> + <th>Game</th> <th></th> <th></th> <th></th> @@ -12,6 +13,7 @@ <tbody> <% @tournaments.each do |tournament| %> <tr> + <td><%= tournament.game %></td> <td><%= link_to 'Show', tournament %></td> <td><%= link_to 'Edit', edit_tournament_path(tournament) %></td> <td><%= link_to 'Destroy', tournament, method: :delete, data: { confirm: 'Are you sure?' } %></td> |