1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-04 22:03:49 +00:00

Updated all links

This commit is contained in:
2015-06-30 16:56:36 +00:00
parent 0fddccf6f5
commit 5b17c49a20
25 changed files with 62 additions and 57 deletions

View File

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

View File

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