demarches-normaliennes/app/serializers/etablissement_csv_serializer.rb
2017-11-21 10:31:16 +01:00

5 lines
139 B
Ruby

class EtablissementCsvSerializer < EtablissementSerializer
def adresse
object.adresse.chomp.gsub("\r\n", ' ').delete("\r")
end
end