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