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.erb27
1 files changed, 0 insertions, 27 deletions
diff --git a/app/views/matches/index.html.erb b/app/views/matches/index.html.erb
deleted file mode 100644
index d8122ac..0000000
--- a/app/views/matches/index.html.erb
+++ /dev/null
@@ -1,27 +0,0 @@
-<h1>Listing matches</h1>
-
-<table>
- <thead>
- <tr>
- <th>Tournament</th>
- <th></th>
- <th></th>
- <th></th>
- </tr>
- </thead>
-
- <tbody>
- <% @matches.each do |match| %>
- <tr>
- <td><%= match.tournament %></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>
- </tr>
- <% end %>
- </tbody>
-</table>
-
-<br>
-
-<%= link_to 'New Match', new_match_path %>