1
0
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:
2015-02-06 12:37:30 -05:00
parent c1f2363a46
commit 7032760360

View File

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