This commit is contained in:
Daniel Schädler 2025-03-08 17:39:51 +01:00
parent 119cffc4ff
commit c5dd8beb00
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ class TournamentsController < ApplicationController
private
def organize_teams_in_groups(teams)
# each team gets put into a array of teams depending on the group specified in team[:group]
# each team gets put into an array of teams depending on the group specified in team[:group]
teams.group_by { |team| team['group'] }.values.map do |group|
group.map do |team|
find_or_create_team(team)