Include team-relation in MatchScoreSerializer
This commit is contained in:
parent
2f4df349c0
commit
baf1acc10b
|
|
@ -3,6 +3,5 @@
|
|||
class MatchScoreSerializer < ApplicationSerializer
|
||||
attributes :points
|
||||
|
||||
has_one :team
|
||||
has_one :match
|
||||
belongs_to :team
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue