Typo
This commit is contained in:
parent
119cffc4ff
commit
c5dd8beb00
|
|
@ -96,7 +96,7 @@ class TournamentsController < ApplicationController
|
||||||
private
|
private
|
||||||
|
|
||||||
def organize_teams_in_groups(teams)
|
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|
|
teams.group_by { |team| team['group'] }.values.map do |group|
|
||||||
group.map do |team|
|
group.map do |team|
|
||||||
find_or_create_team(team)
|
find_or_create_team(team)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue