mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-04 22:03:49 +00:00
Updated all links
This commit is contained in:
@@ -26,6 +26,7 @@ class SchoolsController < ApplicationController
|
||||
# GET /schools/1/edit
|
||||
def edit
|
||||
@tournament_field = @school.tournament_id
|
||||
@tournament = Tournament.find(@school.tournament_id)
|
||||
end
|
||||
|
||||
# POST /schools
|
||||
|
||||
@@ -31,6 +31,7 @@ class WeightsController < ApplicationController
|
||||
def edit
|
||||
@tournament_field = @weight.tournament_id
|
||||
@mats = Mat.where(tournament_id: @weight.tournament.id)
|
||||
@tournament = Tournament.find(@weight.tournament_id)
|
||||
end
|
||||
|
||||
# POST /weights
|
||||
|
||||
Reference in New Issue
Block a user