remove dead code

This commit is contained in:
Christophe Robillard 2021-03-08 11:35:34 +01:00
parent 60cc4d3697
commit 858bbde2d6

View file

@ -1,16 +1,4 @@
class ActiveStorage::DownloadableFile
def initialize(attached)
if using_local_backend?
@url = 'file://' + ActiveStorage::Blob.service.path_for(attached.key)
else
@url = attached.service_url
end
end
def url
@url
end
def self.create_list_from_dossier(dossier)
pjs = PiecesJustificativesService.liste_pieces_justificatives(dossier)
files = pjs.map do |piece_justificative|