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

Fixed navbar on school show page

This commit is contained in:
2021-12-21 02:04:08 +00:00
parent b571bcc749
commit 1c8e3af5f4

View File

@@ -13,6 +13,7 @@ class SchoolsController < ApplicationController
def show def show
session.delete(:return_path) session.delete(:return_path)
@wrestlers = @school.wrestlers.includes(:deductedPoints,:matches,:weight,:school) @wrestlers = @school.wrestlers.includes(:deductedPoints,:matches,:weight,:school)
@tournament = @school.tournament
end end
# GET /schools/new # GET /schools/new