demarches-normaliennes/app/serializers/etablissement_csv_serializer.rb

6 lines
139 B
Ruby
Raw Normal View History

class EtablissementCsvSerializer < EtablissementSerializer
def adresse
2017-11-20 18:55:59 +01:00
object.adresse.chomp.gsub("\r\n", ' ').delete("\r")
end
2017-04-04 15:27:04 +02:00
end