From a8bb011bfe429f32f41a931661e7c6dde85ee1bf Mon Sep 17 00:00:00 2001 From: jcwimer Date: Thu, 24 Dec 2015 21:32:06 +0000 Subject: [PATCH] Check for all matches on all brackets page --- app/controllers/tournaments_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/tournaments_controller.rb b/app/controllers/tournaments_controller.rb index b650612..035e5a6 100644 --- a/app/controllers/tournaments_controller.rb +++ b/app/controllers/tournaments_controller.rb @@ -1,7 +1,7 @@ class TournamentsController < ApplicationController before_action :set_tournament, only: [:weigh_in,:weigh_in_weight,:create_custom_weights,:show,:edit,:update,:destroy,:up_matches,:no_matches,:team_scores,:brackets,:generate_matches,:bracket,:all_brackets] before_filter :check_access, only: [:weigh_in,:weigh_in_weight,:create_custom_weights,:update,:edit,:destroy,:generate_matches] - before_filter :check_for_matches, only: [:up_matches,:bracket] + before_filter :check_for_matches, only: [:up_matches,:bracket,:all_brackets] def weigh_in_weight if params[:wrestler]