diff --git a/app/controllers/backoffice/dossiers_list_controller.rb b/app/controllers/backoffice/dossiers_list_controller.rb index fc963f6f9..e39ee9177 100644 --- a/app/controllers/backoffice/dossiers_list_controller.rb +++ b/app/controllers/backoffice/dossiers_list_controller.rb @@ -40,7 +40,7 @@ class Backoffice::DossiersListController < ApplicationController default_smart_listing_create :new_dossiers, service.nouveaux default_smart_listing_create :follow_dossiers, service.suivi default_smart_listing_create :all_state_dossiers, service.all_state - default_smart_listing_create :dossiers_archived, service.archive + default_smart_listing_create :archived_dossiers, service.archive end private diff --git a/app/views/backoffice/dossiers/index.html.haml b/app/views/backoffice/dossiers/index.html.haml index 38f0cf915..aeb4accac 100644 --- a/app/views/backoffice/dossiers/index.html.haml +++ b/app/views/backoffice/dossiers/index.html.haml @@ -63,4 +63,4 @@ = pluralize(@dossiers_archived.count, "dossier") %div.body - = smart_listing_render :dossiers_archived + = smart_listing_render :archived_dossiers