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:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user