diff --git a/app/models/match_score.rb b/app/models/match_score.rb index 4d7f9bf..408952d 100644 --- a/app/models/match_score.rb +++ b/app/models/match_score.rb @@ -3,4 +3,6 @@ class MatchScore < ApplicationRecord belongs_to :match belongs_to :team + + delegate :owner, to: :team end