1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Removed sidebars, added tournament navbar, and removed chitika ads

This commit is contained in:
2019-01-23 16:05:34 +00:00
parent 19f10ec80b
commit 0be27f05fd
20 changed files with 81 additions and 170 deletions

View File

@@ -166,10 +166,6 @@ class TournamentsController < ApplicationController
GenerateTournamentMatches.new(@tournament).generate
end
def brackets
@weights = @tournament.weights.sort_by{|w| w.max}
end
def team_scores
@schools = @tournament.schools
@schools = @schools.sort_by{|s| s.page_score_string}.reverse!