demarches-normaliennes/app/serializers/etablissement_csv_serializer.rb
2016-05-24 15:58:21 +02:00

5 lines
No EOL
140 B
Ruby

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