summaryrefslogtreecommitdiff
path: root/app/models/match.rb
blob: c596ced95e3876fcab605443baed07487087175e (plain)
1
2
3
4
5
6
7
8
9
10
11
class Match < ActiveRecord::Base
	belongs_to :tournament

	has_and_belongs_to_many :teams

	belongs_to :winner, class_name: "Team"

	def setup()
		
	end
end