includes champs: :type_de_champ
This commit is contained in:
parent
ba466f8430
commit
275b71abac
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue