demarches-normaliennes/app/models/champs/pays_champ.rb
2018-10-23 18:13:44 +02:00

5 lines
103 B
Ruby

class Champs::PaysChamp < Champs::TextChamp
def self.pays
ApiGeo::API.pays.pluck(:nom)
end
end