Adding a header to #show to announce winner. Don't tell Demeter.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
%h1
|
||||
You chose
|
||||
%em #{@mash_tournament.rounds.reverse.first.mashes.first.winner.name}!
|
||||
|
||||
- @mash_tournament.rounds.reverse.each do |round|
|
||||
%h2 Round #{round.number}
|
||||
- round.mashes.each do |mash|
|
||||
|
Reference in New Issue
Block a user