1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-19 05:43:17 +00:00

Cleaned up a bunch of shit. Depricated model methods and controller methods.

This commit is contained in:
2015-04-15 13:42:12 +00:00
parent 451e6911f8
commit 2b1618c69b
9 changed files with 45 additions and 51 deletions

View File

@@ -11,9 +11,8 @@ class TournamentsController < ApplicationController
# GET /tournaments/1.json
def show
@schools = @tournament.schools
@weights = @tournament.weights
@weights = @tournament.weights.sort_by{|x|[x.max]}
@mats = @tournament.mats
@weights = @weights.sort_by{|x|[x.max]}
end
# GET /tournaments/new