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