fix zip download for everybody

This commit is contained in:
clemkeirua 2020-07-20 11:14:34 +02:00
parent 0c95e41c6f
commit def81f9de8

View file

@ -15,7 +15,7 @@ class ActiveStorage::DownloadableFile
pjs = PiecesJustificativesService.liste_pieces_justificatives(dossier) pjs = PiecesJustificativesService.liste_pieces_justificatives(dossier)
pjs.map do |piece_justificative| pjs.map do |piece_justificative|
[ [
ActiveStorage::DownloadableFile.new(piece_justificative), piece_justificative,
piece_justificative.filename.to_s piece_justificative.filename.to_s
] ]
end end