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