Stop using legacy api carto after migration
This commit is contained in:
parent
44ca6a2d02
commit
2462e42b53
8 changed files with 14 additions and 8 deletions
|
@ -25,7 +25,7 @@
|
|||
.actions
|
||||
= link_to 'Utiliser un autre numéro SIRET', siret_dossier_path(@dossier), class: 'button'
|
||||
|
||||
- if @dossier.procedure.use_api_carto
|
||||
- if @dossier.use_legacy_carto?
|
||||
/ Until the old layout is gone, we need to disable turbolinks
|
||||
/ to avoid the map loading twice (once for the turbolinks preview,
|
||||
/ once when turbolinks notices the layout are differents and reloads
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue