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