1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Check for all matches on all brackets page

This commit is contained in:
2015-12-24 21:32:06 +00:00
parent cc6717eaae
commit a8bb011bfe

View File

@@ -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]