Link assign_to and procedure by groupe_instructeur
This commit is contained in:
parent
4da12ed3e8
commit
ad7ef6c739
4 changed files with 4 additions and 4 deletions
|
@ -212,7 +212,7 @@ module Instructeurs
|
|||
end
|
||||
|
||||
def assign_to
|
||||
current_instructeur.assign_to.find_by(procedure: procedure)
|
||||
current_instructeur.assign_to.joins(:groupe_instructeur).find_by(groupe_instructeurs: { procedure: procedure })
|
||||
end
|
||||
|
||||
def statut
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue