diff --git a/app/controllers/admin/scrambles_controller.rb b/app/controllers/admin/scrambles_controller.rb index 3b335ee4eaa..378454dbdce 100644 --- a/app/controllers/admin/scrambles_controller.rb +++ b/app/controllers/admin/scrambles_controller.rb @@ -11,10 +11,9 @@ def new # Using Scramble.new wouldn't work here: we have no idea what the country # could be and so on, so serialization would fail. @scramble = { - competition_id: competition.id, - round_type_id: round.round_type_id, - group_id: 'TODO', - event_id: round.event.id, + competitionId: competition.id, + roundTypeId: round.round_type_id, + eventId: round.event.id, } end