From 53e6ad135f6425da1f2a938bd09cffeba0126126 Mon Sep 17 00:00:00 2001 From: Paul Chavard Date: Tue, 7 Mar 2023 17:48:16 +0000 Subject: [PATCH] Update app/controllers/concerns/turbo_champs_concern.rb Co-authored-by: Colin Darie --- app/controllers/concerns/turbo_champs_concern.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/controllers/concerns/turbo_champs_concern.rb b/app/controllers/concerns/turbo_champs_concern.rb index f7e61dd08..abb60bbff 100644 --- a/app/controllers/concerns/turbo_champs_concern.rb +++ b/app/controllers/concerns/turbo_champs_concern.rb @@ -16,8 +16,7 @@ module TurboChampsConcern def champs_to_one_selector(champs) champs - .map(&:input_group_id) - .map { |id| "##{id}" } + .map { "##{_1.input_group_id}" } .join(',') end end