Listing matches

<% @matches.each do |match| %> <% end %>
R G G stat R stat Winner Win type Score
<%= match.r_id %> <%= match.g_id %> <%= match.g_stat %> <%= match.r_stat %> <%= match.winner_id %> <%= match.win_type %> <%= match.score %> <%= 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 %>