1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-02 13:15:27 +00:00

Preliminary bracket print page

This commit is contained in:
2015-03-30 19:11:47 +00:00
parent 9986c8b407
commit d0277e1ab8
5 changed files with 64 additions and 13 deletions

View File

@@ -41,6 +41,12 @@ class StaticPagesController < ApplicationController
@wrestlers = Wrestler.where(weight_id: @weight.id)
end
end
def all_brackets
if params[:tournament]
@tournament = Tournament.find(params[:tournament])
end
end
def weights
if params[:tournament]