1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-20 06:02:39 +00:00

Fixed school show query on controller

This commit is contained in:
2015-12-21 19:38:59 +00:00
parent 54ecbe9451
commit 67a457ad2f

View File

@@ -6,7 +6,7 @@ class SchoolsController < ApplicationController
# GET /schools/1 # GET /schools/1
# GET /schools/1.json # GET /schools/1.json
def show def show
@wrestlers = @school.wrestlers @wrestlers = @school.wrestlers.includes(:deductedPoints,:matches,:weight)
@tournament = @school.tournament @tournament = @school.tournament
end end