1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-31 11:35:45 +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.json
def show
@wrestlers = @school.wrestlers
@wrestlers = @school.wrestlers.includes(:deductedPoints,:matches,:weight)
@tournament = @school.tournament
end