From 987c89b7d569fc5161223933c76224e2fbe8fc68 Mon Sep 17 00:00:00 2001 From: Jacob Cody Wimer Date: Wed, 17 Feb 2021 03:39:08 +0000 Subject: [PATCH] Fix all brackets view for Rails 6 --- 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 7e4516e..4a098be 100644 --- a/app/views/tournaments/all_brackets.html.erb +++ b/app/views/tournaments/all_brackets.html.erb @@ -15,7 +15,7 @@ <% cache ["#{@tournament.id}_all_brackets", @tournament] do %>
- <%= render :file => 'tournaments/team_scores' %> + <%= render file: Rails.root.join('app/views/tournaments/team_scores.html.erb') %> <% @tournament.weights.sort_by{|w| w.max}.each do |weight| %>