Recursively include all relations for a tournament

This commit is contained in:
Thor77 2018-12-11 14:48:12 +01:00
parent e3bbe2b773
commit 5076197f78
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ class TournamentsController < ApplicationController
# GET /tournaments/1 # GET /tournaments/1
def show def show
render json: @tournament render json: @tournament, include: '**'
end end
# POST /tournaments # POST /tournaments