diff --git a/app/controllers/schools_controller.rb b/app/controllers/schools_controller.rb index 5902334..d3fb5c6 100644 --- a/app/controllers/schools_controller.rb +++ b/app/controllers/schools_controller.rb @@ -10,7 +10,7 @@ class SchoolsController < ApplicationController # GET /schools/1 # GET /schools/1.json def show - @wrestlers = Wrestler.all + @wrestlers = Wrestler.where(school_id: @school.id) @tournament = Tournament.find(@school.tournament_id) end