prend en compte uniquement les pj pour estimer la taille d'un dossier
This commit is contained in:
parent
71a48c99bb
commit
01f180022b
7 changed files with 60 additions and 37 deletions
|
@ -211,7 +211,7 @@ module Instructeurs
|
|||
end
|
||||
|
||||
def telecharger_pjs
|
||||
return head(:forbidden) if !dossier.attachments_downloadable?
|
||||
return head(:forbidden) if !dossier.export_and_attachments_downloadable?
|
||||
|
||||
files = ActiveStorage::DownloadableFile.create_list_from_dossier(dossier)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue