remove download_as_zip feature flag

This commit is contained in:
clemkeirua 2019-10-03 10:48:24 +02:00
parent 3c3bd981de
commit d3063c0b63
3 changed files with 2 additions and 3 deletions

View file

@ -183,7 +183,7 @@ module Instructeurs
end
def telecharger_pjs
return head(:forbidden) if !feature_enabled?(:instructeur_download_as_zip) || !dossier.attachments_downloadable?
return head(:forbidden) if !dossier.attachments_downloadable?
files = ActiveStorage::DownloadableFile.create_list_from_dossier(dossier)