remove download_as_zip feature flag
This commit is contained in:
parent
3c3bd981de
commit
d3063c0b63
3 changed files with 2 additions and 3 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue