Serialize has_one match relation
This commit is contained in:
parent
7f59d6fb0e
commit
25b558105a
|
|
@ -4,4 +4,5 @@ class MatchScoreSerializer < ApplicationSerializer
|
|||
attributes :points
|
||||
|
||||
has_one :team
|
||||
has_one :match
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue