includes champs: :type_de_champ

This commit is contained in:
simon lehericey 2021-04-16 17:17:11 +02:00 committed by Pierre de La Morinerie
parent ba466f8430
commit 275b71abac

View file

@ -233,7 +233,10 @@ module Instructeurs
private
def dossier
@dossier ||= current_instructeur.dossiers.find(params[:dossier_id])
@dossier ||= current_instructeur
.dossiers
.includes(champs: :type_de_champ)
.find(params[:dossier_id])
end
def generate_pdf_for_instructeur_export