Link Dossier and GroupeInstructeur
This commit is contained in:
parent
940813a3ab
commit
3cc8f0c792
12 changed files with 44 additions and 31 deletions
|
@ -11,7 +11,7 @@
|
|||
= render partial: 'shared/france_connect_login', locals: { url: commencer_france_connect_path(path: @procedure.path) }
|
||||
|
||||
- else
|
||||
- dossiers = current_user.dossiers.where(procedure: @procedure)
|
||||
- dossiers = current_user.dossiers.where(groupe_instructeur: @procedure.groupe_instructeurs)
|
||||
- drafts = dossiers.merge(Dossier.state_brouillon)
|
||||
- not_drafts = dossiers.merge(Dossier.state_not_brouillon)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue