fix pending demandes
This commit is contained in:
parent
a8dd3888c1
commit
9fe005e4d7
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ module Manager
|
|||
end
|
||||
|
||||
def pending_demandes
|
||||
already_approved_emails = Administrateur.eager(:user)
|
||||
already_approved_emails = Administrateur.eager_load(:user)
|
||||
.where(users: { email: demandes.map { |d| d[:email] } })
|
||||
.map(&:email)
|
||||
|
||||
|
|
Loading…
Reference in a new issue