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
|
@ -245,6 +245,10 @@ class Dossier < ApplicationRecord
|
|||
end
|
||||
end
|
||||
|
||||
def use_legacy_carto?
|
||||
procedure.use_legacy_carto?
|
||||
end
|
||||
|
||||
def user_geometry
|
||||
if json_latlngs.present?
|
||||
UserGeometry.new(json_latlngs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue