Listing tournaments

<% @tournaments.each do |tournament| %> <% end %>
Tournament ID Show Tournament Edit Tournament Delete Tournament
<%= tournament.id %> <%= link_to 'Show', tournament %> <%= link_to 'Edit', edit_tournament_path(tournament) %> <%= link_to 'Destroy', tournament, method: :delete, data: { confirm: 'Are you sure?' } %>

<%= link_to 'New Tournament', new_tournament_path, :class => "btn btn-warning btn-lg" %>