Recursively include all relations for a tournament
This commit is contained in:
parent
e3bbe2b773
commit
5076197f78
|
|
@ -13,7 +13,7 @@ class TournamentsController < ApplicationController
|
|||
|
||||
# GET /tournaments/1
|
||||
def show
|
||||
render json: @tournament
|
||||
render json: @tournament, include: '**'
|
||||
end
|
||||
|
||||
# POST /tournaments
|
||||
|
|
|
|||
Loading…
Reference in New Issue