mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-07 14:57:48 +00:00
Trying to eager load in a few places
This commit is contained in:
@@ -181,7 +181,7 @@ class TournamentsController < ApplicationController
|
||||
end
|
||||
|
||||
def show
|
||||
@schools = @tournament.schools
|
||||
@schools = @tournament.schools(:delegates)
|
||||
@weights = @tournament.weights.sort_by{|x|[x.max]}
|
||||
@mats = @tournament.mats
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user