Remove legacy carto

This commit is contained in:
Paul Chavard 2020-05-14 11:21:33 +02:00
parent c4c1c971ca
commit 901b6e23a8
17 changed files with 10 additions and 572 deletions

View file

@ -4,12 +4,6 @@ module ChampHelper
!types_without_label.include?(champ.type_champ)
end
def geo_data(champ)
# rubocop:disable Rails/OutputSafety
raw(champ.to_render_data.to_json)
# rubocop:enable Rails/OutputSafety
end
def champ_carte_params(champ)
if champ.persisted?
{ champ_id: champ.id }