1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-05 06:07:20 +00:00

Made two pool for 7-10 people

This commit is contained in:
2015-02-06 13:26:58 -05:00
parent 7032760360
commit 8caaf588fd
7 changed files with 22 additions and 8 deletions

View File

@@ -52,6 +52,7 @@ class StaticPagesController < ApplicationController
end
if @tournament
@weights = Weight.where(tournament_id: @tournament.id)
@weights = @weights.sort_by{|x|[x.max]}
end
end