diff options
author | guntasgrewal <guntasgrewal@gmail.com> | 2014-04-28 21:12:22 -0400 |
---|---|---|
committer | guntasgrewal <guntasgrewal@gmail.com> | 2014-04-28 21:12:22 -0400 |
commit | 927e21c067673a46c68e9ecfa191983ebb3874e7 (patch) | |
tree | d75f6ae71a05353d4d5b3cb949b0b9686014b280 /app | |
parent | feffb3b186ad2b73bd9868a1eb24ab20f9c71507 (diff) |
Tournament Stage now displays correct stage number
Diffstat (limited to 'app')
-rw-r--r-- | app/views/matches/show.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/matches/show.html.erb b/app/views/matches/show.html.erb index 01484d3..bf5518f 100644 --- a/app/views/matches/show.html.erb +++ b/app/views/matches/show.html.erb @@ -5,7 +5,7 @@ </p> <p> <strong>Tournament stage:</strong> - <%= @match.tournament_stage %> + <%= @tournament.stages.order(:id).index(@match.tournament_stage)+1 %> </p> <%# |