remove dead code
This commit is contained in:
parent
60cc4d3697
commit
858bbde2d6
1 changed files with 0 additions and 12 deletions
|
@ -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|
|
||||
|
|
Loading…
Reference in a new issue