I had installed fresh Laravel project and added the Laravel Voyagers Package in it.
Later I had created the Product table with id, title, user_id and created its respective BREAD.
User can have many Products. So for Relationship, I had defined in product table that Every product BelongsTo User. Its working fine till here. But I when I logged in as user then I am able to see all products instead of my assigned products only.
How I can manage this thing in laravel voyagers.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire