fix zip download for everybody
This commit is contained in:
parent
0c95e41c6f
commit
def81f9de8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue