feat(routing): use only department codes in routing rules
This commit is contained in:
parent
4e6788919f
commit
ca25788f07
6 changed files with 22 additions and 21 deletions
|
@ -70,6 +70,6 @@ class Procedure::OneGroupeManagementComponent < ApplicationComponent
|
|||
end
|
||||
|
||||
def departements_for_select
|
||||
APIGeoService.departements.map { ["#{_1[:code]} – #{_1[:name]}", constant("#{_1[:code]} – #{_1[:name]}").to_json] }
|
||||
APIGeoService.departements.map { ["#{_1[:code]} – #{_1[:name]}", constant(_1[:code]).to_json] }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue