Listing matches

<% @matches.each do |match| %> <% end %>
Tournament Name
<%= match.tournament %> <%= match.name %> <%= link_to 'Show', match %> <%= link_to 'Edit', edit_match_path(match) %> <%= link_to 'Destroy', match, method: :delete, data: { confirm: 'Are you sure?' } %>

<%= link_to 'New Match', new_match_path %>