From 5076197f78fd369761ac00b7a12690d024a0f44f Mon Sep 17 00:00:00 2001 From: Thor77 Date: Tue, 11 Dec 2018 14:48:12 +0100 Subject: [PATCH] Recursively include all relations for a tournament --- app/controllers/tournaments_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/tournaments_controller.rb b/app/controllers/tournaments_controller.rb index a8710e1..b6375a6 100644 --- a/app/controllers/tournaments_controller.rb +++ b/app/controllers/tournaments_controller.rb @@ -13,7 +13,7 @@ class TournamentsController < ApplicationController # GET /tournaments/1 def show - render json: @tournament + render json: @tournament, include: '**' end # POST /tournaments