mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-29 10:25:32 +00:00
First crack at setting an owner for the tournament
This commit is contained in:
@@ -8,6 +8,7 @@ class Tournament < ActiveRecord::Base
|
||||
has_many :mats, dependent: :destroy
|
||||
has_many :wrestlers, through: :weights
|
||||
has_many :matches, dependent: :destroy
|
||||
belongs_to :user
|
||||
|
||||
def tournament_types
|
||||
["Pool to bracket"]
|
||||
|
||||
Reference in New Issue
Block a user