mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
Fixed school view
This commit is contained in:
@@ -11,6 +11,7 @@ class SchoolsController < ApplicationController
|
||||
# GET /schools/1.json
|
||||
def show
|
||||
@wrestlers = Wrestler.all
|
||||
@tournament = Tournament.find(@school.tournament_id)
|
||||
end
|
||||
|
||||
# GET /schools/new
|
||||
|
||||
Reference in New Issue
Block a user