diff --git a/app/controllers/instructeurs/dossiers_controller.rb b/app/controllers/instructeurs/dossiers_controller.rb index 400c06eb5..b3a6dceaf 100644 --- a/app/controllers/instructeurs/dossiers_controller.rb +++ b/app/controllers/instructeurs/dossiers_controller.rb @@ -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) diff --git a/app/views/instructeurs/dossiers/_header_actions.html.haml b/app/views/instructeurs/dossiers/_header_actions.html.haml index 27c428f59..1df589d7a 100644 --- a/app/views/instructeurs/dossiers/_header_actions.html.haml +++ b/app/views/instructeurs/dossiers/_header_actions.html.haml @@ -7,7 +7,7 @@ %li = link_to "Uniquement cet onglet", "#", onclick: "window.print()", class: "menu-item menu-link" -- if feature_enabled?(:instructeur_download_as_zip) && !PiecesJustificativesService.liste_pieces_justificatives(dossier).empty? +- if !PiecesJustificativesService.liste_pieces_justificatives(dossier).empty? %span.dropdown.print-menu-opener %button.button.dropdown-button.icon-only %span.icon.attachment diff --git a/config/initializers/flipper.rb b/config/initializers/flipper.rb index 53d6f2820..e8172d0da 100644 --- a/config/initializers/flipper.rb +++ b/config/initializers/flipper.rb @@ -30,7 +30,6 @@ features = [ :administrateur_web_hook, :insee_api_v3, :instructeur_bypass_email_login_token, - :instructeur_download_as_zip, :maintenance_mode, :mini_profiler, :operation_log_serialize_subject,