demarches-normaliennes/app/serializers/etablissement_csv_serializer.rb
2017-04-04 16:59:38 +02:00

5 lines
141 B
Ruby

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