From 25b558105a343695d83f8dc292e160996f0c27a9 Mon Sep 17 00:00:00 2001 From: Thor77 Date: Wed, 28 Nov 2018 18:07:17 +0100 Subject: [PATCH] Serialize has_one match relation --- app/serializers/match_score_serializer.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/serializers/match_score_serializer.rb b/app/serializers/match_score_serializer.rb index f4f9987..2e831ab 100644 --- a/app/serializers/match_score_serializer.rb +++ b/app/serializers/match_score_serializer.rb @@ -4,4 +4,5 @@ class MatchScoreSerializer < ApplicationSerializer attributes :points has_one :team + has_one :match end