Include team-relation in MatchScoreSerializer

This commit is contained in:
Thor77 2018-12-11 14:46:47 +01:00
parent 2f4df349c0
commit baf1acc10b
1 changed files with 1 additions and 2 deletions

View File

@ -3,6 +3,5 @@
class MatchScoreSerializer < ApplicationSerializer
attributes :points
has_one :team
has_one :match
belongs_to :team
end