diff options
author | nfoy <nfoy@purdue.edu> | 2014-04-28 21:32:09 -0400 |
---|---|---|
committer | nfoy <nfoy@purdue.edu> | 2014-04-28 21:32:09 -0400 |
commit | d52ceaf8d2b823b68edcf3614999b8639a0971f9 (patch) | |
tree | bdb969dbad788cb7e63665bf502c754765286db6 /app/views/matches | |
parent | 819fd70c1285bf5670b68842adad8c77c36d1076 (diff) | |
parent | 7410df080be95211daa2e97b8a57faa8aa903b0a (diff) |
Merge branch 'master' of https://github.com/LukeShu/leaguer
Diffstat (limited to 'app/views/matches')
-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> <%# |