remove dead code
This commit is contained in:
parent
12d1a5bece
commit
a8ed9ef172
1 changed files with 0 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue