mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-14 17:06:46 +00:00
Organized weights on tournament page.
This commit is contained in:
@@ -13,6 +13,7 @@ class TournamentsController < ApplicationController
|
|||||||
@schools = @tournament.schools
|
@schools = @tournament.schools
|
||||||
@weights = @tournament.weights
|
@weights = @tournament.weights
|
||||||
@mats = @tournament.mats
|
@mats = @tournament.mats
|
||||||
|
@weights = @weights.sort_by{|x|[x.max]}
|
||||||
end
|
end
|
||||||
|
|
||||||
# GET /tournaments/new
|
# GET /tournaments/new
|
||||||
|
|||||||
Reference in New Issue
Block a user