Update app/controllers/concerns/turbo_champs_concern.rb
Co-authored-by: Colin Darie <colin@darie.eu>
This commit is contained in:
parent
c521724cf4
commit
53e6ad135f
1 changed files with 1 additions and 2 deletions
|
@ -16,8 +16,7 @@ module TurboChampsConcern
|
||||||
|
|
||||||
def champs_to_one_selector(champs)
|
def champs_to_one_selector(champs)
|
||||||
champs
|
champs
|
||||||
.map(&:input_group_id)
|
.map { "##{_1.input_group_id}" }
|
||||||
.map { |id| "##{id}" }
|
|
||||||
.join(',')
|
.join(',')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue