box-o-sand/rails/map-mash/app/views/mash_tournaments/index.html.erb

18 lines
449 B
Plaintext

<h1>Listing mash_tournaments</h1>
<table>
<tr>
</tr>
<% @mash_tournaments.each do |mash_tournament| %>
<tr>
<td><%= link_to 'Show', mash_tournament %></td>
<td><%= link_to 'Edit', edit_mash_tournament_path(mash_tournament) %></td>
<td><%= link_to 'Destroy', mash_tournament, :confirm => 'Are you sure?', :method => :delete %></td>
</tr>
<% end %>
</table>
<br />
<%= link_to 'New mash_tournament', new_mash_tournament_path %>