summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrewMurrell <amurrel@purdue.edu>2014-04-28 21:21:51 -0400
committerAndrewMurrell <amurrel@purdue.edu>2014-04-28 21:21:51 -0400
commit7410df080be95211daa2e97b8a57faa8aa903b0a (patch)
tree97d127c618b02421f47fc7e4287e1e597ada4005
parent8db5113a761d443374a64e5e9fe877fafa3f0a50 (diff)
parent927e21c067673a46c68e9ecfa191983ebb3874e7 (diff)
Merge branch 'master' of http://github.com/LukeShu/leaguer
-rw-r--r--app/views/matches/show.html.erb2
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>
<%#