1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Fixed school view

This commit is contained in:
Jacob Cody Wimer
2014-01-22 10:06:38 -05:00
parent 10320a2c76
commit 8e5e1d60a3
3 changed files with 16 additions and 11 deletions

View File

@@ -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