From 927e21c067673a46c68e9ecfa191983ebb3874e7 Mon Sep 17 00:00:00 2001 From: guntasgrewal Date: Mon, 28 Apr 2014 21:12:22 -0400 Subject: Tournament Stage now displays correct stage number --- app/views/matches/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') 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 @@

Tournament stage: - <%= @match.tournament_stage %> + <%= @tournament.stages.order(:id).index(@match.tournament_stage)+1 %>

<%# -- cgit v1.2.3-2-g168b