demarches-normaliennes/app/serializers/etablissement_csv_serializer.rb

5 lines
140 B
Ruby
Raw Normal View History

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