From 9d51ef7b51ccfe7b6e1b14e8ffcab563bb63aef7 Mon Sep 17 00:00:00 2001 From: Jacob Cody Wimer Date: Mon, 1 Mar 2021 13:28:00 +0000 Subject: [PATCH] Fixed all brackets page --- app/views/tournaments/all_brackets.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/tournaments/all_brackets.html.erb b/app/views/tournaments/all_brackets.html.erb index c3328c0..cf8b00f 100644 --- a/app/views/tournaments/all_brackets.html.erb +++ b/app/views/tournaments/all_brackets.html.erb @@ -28,7 +28,7 @@ <% @weight = weight %> <%= render 'bracket_partial' %> - <% elsif @tournament.tournament_type == "Modified 16 Man Double Elimination" or @tournament.tournament_type == "Double Elimination 1-6" %> + <% elsif @tournament.tournament_type.include? "Modified 16 Man Double Elimination" or @tournament.tournament_type.include? "Regular Double Elimination" %> <% @matches = weight.matches %>