diff --git a/app/controllers/matches_controller.rb b/app/controllers/matches_controller.rb index 7c0c012..cfa430b 100644 --- a/app/controllers/matches_controller.rb +++ b/app/controllers/matches_controller.rb @@ -15,7 +15,7 @@ class MatchesController < ApplicationController m.state == match_params['state'] end end - render json: matches, each_serializer: MatchSerializer + render json: matches, each_serializer: MatchSerializer, include: '**' end # GET /matches/1