From 5126e5ae763321f74ddb1472140ea0dc7680457e Mon Sep 17 00:00:00 2001 From: Thor77 Date: Tue, 11 Dec 2018 15:42:37 +0100 Subject: [PATCH] Add position to MatchSerializer --- app/serializers/match_serializer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/serializers/match_serializer.rb b/app/serializers/match_serializer.rb index c89e7a8..33d2db5 100644 --- a/app/serializers/match_serializer.rb +++ b/app/serializers/match_serializer.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class MatchSerializer < ApplicationSerializer - attributes :state + attributes :state, :position has_many :match_scores end