From 67a457ad2f959e65de26ac1701c594d8bf8918af Mon Sep 17 00:00:00 2001 From: jcwimer Date: Mon, 21 Dec 2015 19:38:59 +0000 Subject: [PATCH] Fixed school show query on controller --- app/controllers/schools_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/schools_controller.rb b/app/controllers/schools_controller.rb index f1e096b..81c5039 100644 --- a/app/controllers/schools_controller.rb +++ b/app/controllers/schools_controller.rb @@ -6,7 +6,7 @@ class SchoolsController < ApplicationController # GET /schools/1 # GET /schools/1.json def show - @wrestlers = @school.wrestlers + @wrestlers = @school.wrestlers.includes(:deductedPoints,:matches,:weight) @tournament = @school.tournament end