add variable to dossier controller
This commit is contained in:
parent
436f567067
commit
f9e4d9c982
1 changed files with 1 additions and 0 deletions
|
@ -60,6 +60,7 @@ module Instructeurs
|
||||||
def avis
|
def avis
|
||||||
@avis_seen_at = current_instructeur.follows.find_by(dossier: dossier)&.avis_seen_at
|
@avis_seen_at = current_instructeur.follows.find_by(dossier: dossier)&.avis_seen_at
|
||||||
@avis = Avis.new
|
@avis = Avis.new
|
||||||
|
@experts_emails = dossier.procedure.experts_procedures.where(revoked_at: nil).map(&:expert).map(&:email).sort
|
||||||
end
|
end
|
||||||
|
|
||||||
def personnes_impliquees
|
def personnes_impliquees
|
||||||
|
|
Loading…
Reference in a new issue