Merge pull request #74 from turniere/ticket/TUR-8

Include team objects in /tournaments/:id/matches
This commit is contained in:
Daniel Schädler 2019-11-06 13:04:45 +01:00 committed by GitHub
commit b4418ffd5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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