2012-03-10 13:47:47 +00:00
|
|
|
<ul>
|
|
|
|
<% @mash_tournament.mashes.each do |mash| %>
|
|
|
|
<li><%= mash.map_a.name %> vs. <%= mash.map_b.name %>, winner = <%= mash.winner.name %></li>
|
|
|
|
<% end %>
|
|
|
|
</ul>
|
2012-03-09 13:11:54 +00:00
|
|
|
|
2012-03-10 13:47:47 +00:00
|
|
|
|
|
|
|
<%= link_to 'New!', :controller => 'mash_tournaments', :action => 'new' %>
|