diff --git a/app/controllers/tournaments_controller.rb b/app/controllers/tournaments_controller.rb index fede68b..a53c88e 100644 --- a/app/controllers/tournaments_controller.rb +++ b/app/controllers/tournaments_controller.rb @@ -195,7 +195,7 @@ class TournamentsController < ApplicationController end def show - @schools = @tournament.schools(:delegates) + @schools = @tournament.schools.includes(:delegates) @weights = @tournament.weights.sort_by{|x|[x.max]} @mats = @tournament.mats end