vendredi 2 juin 2017

Laravel troubles with WHERE in relationships

I have a trouble when the user is not admin, the goal is to get only the requests that belongs to me but when i use the where i get all the requests from the DB.. It was supposed to only the admin get all the requests.

thank you for the help!

http://ift.tt/2s1Kny8




Aucun commentaire:

Enregistrer un commentaire