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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user