From 28ebb045d855f958eba894ccd18b80b9b2f12c7e Mon Sep 17 00:00:00 2001 From: Colin Darie Date: Tue, 3 Oct 2023 18:07:20 +0200 Subject: [PATCH] fix(demande): preload dossier so page is much faster on big procedures --- app/controllers/users/dossiers_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/users/dossiers_controller.rb b/app/controllers/users/dossiers_controller.rb index 5a77cd75e..7d3a5a741 100644 --- a/app/controllers/users/dossiers_controller.rb +++ b/app/controllers/users/dossiers_controller.rb @@ -94,7 +94,7 @@ module Users end def demande - @dossier = dossier + @dossier = dossier_with_champs(pj_template: false) end def messagerie