Merge pull request #74 from turniere/ticket/TUR-8
Include team objects in /tournaments/:id/matches
This commit is contained in:
commit
b4418ffd5a
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue