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