Fix CSV output for addresses on several lines.
This commit is contained in:
parent
9e3b1d73de
commit
e2391d8635
1 changed files with 4 additions and 0 deletions
|
@ -11,4 +11,8 @@ class EtablissementSerializer < ActiveModel::Serializer
|
||||||
:code_postal,
|
:code_postal,
|
||||||
:localite,
|
:localite,
|
||||||
:code_insee_localite
|
:code_insee_localite
|
||||||
|
|
||||||
|
def adresse
|
||||||
|
object.adresse.chomp.gsub("\r\n", ' ')
|
||||||
|
end
|
||||||
end
|
end
|
Loading…
Reference in a new issue