refactor(dossier): use dossier method to set dossier
This commit is contained in:
parent
838dc0a9e3
commit
bca2b79c70
1 changed files with 1 additions and 1 deletions
|
@ -373,7 +373,7 @@ module Instructeurs
|
||||||
end
|
end
|
||||||
|
|
||||||
def pieces_jointes
|
def pieces_jointes
|
||||||
@dossier = current_instructeur.dossiers.find(params[:dossier_id])
|
@dossier = dossier
|
||||||
@pieces_jointes_seen_at = current_instructeur.follows.find_by(dossier: dossier)&.pieces_jointes_seen_at
|
@pieces_jointes_seen_at = current_instructeur.follows.find_by(dossier: dossier)&.pieces_jointes_seen_at
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue