Fix missing stages and teams in tournaments show

This commit is contained in:
Daniel Schädler 2025-03-14 13:22:52 +01:00
parent d1cbe8a354
commit dd520089ec
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ class TournamentsController < ApplicationController
if show_params.fetch(:simple, 'false') == 'true' if show_params.fetch(:simple, 'false') == 'true'
render json: @tournament, serializer: SimpleTournamentSerializer render json: @tournament, serializer: SimpleTournamentSerializer
else else
render json: @tournament.as_json(methods: :teams_advancing_from_group_stage) render json: @tournament, include: '**'
end end
end end