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

	has_and_belongs_to_many :teams

	belongs_to :winner, class_name: "Team"

end