From 86bb0b6f3cb7ebfb2e77475247238eda52107b73 Mon Sep 17 00:00:00 2001 From: Jacob Cody Wimer Date: Tue, 31 Jan 2017 14:01:09 +0000 Subject: [PATCH] Fixed cache names so multiple tournaments cache at once --- app/views/tournaments/all_brackets.html.erb | 2 +- app/views/tournaments/bracket.html.erb | 2 +- app/views/tournaments/team_scores.html.erb | 2 +- app/views/tournaments/up_matches.html.erb | 2 +- app/views/wrestlers/show.html.erb | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/tournaments/all_brackets.html.erb b/app/views/tournaments/all_brackets.html.erb index 9182666..3278faa 100644 --- a/app/views/tournaments/all_brackets.html.erb +++ b/app/views/tournaments/all_brackets.html.erb @@ -1,4 +1,4 @@ -<% cache ["all_brackets", @tournament] do %> +<% cache ["#{@tournament.id}_all_brackets", @tournament] do %>