remove dead code

This commit is contained in:
Christophe Robillard 2020-11-25 15:28:27 +01:00 committed by LeSim (Rebase PR Action)
parent 12d1a5bece
commit a8ed9ef172

View file

@ -15,13 +15,4 @@
# type_de_champ_id :integer
#
class Champs::PaysChamp < Champs::TextChamp
PAYS = JSON.parse(Rails.root.join('app', 'lib', 'api_geo', 'pays.json').read, symbolize_names: true)
def self.pays
PAYS.pluck(:nom)
end
def self.disabled_options
pays.filter { |v| (v =~ /^--.*--$/).present? }
end
end