I am new to laravel and following online tutorials.I have created a basic laravel 5.5 app along with auth scaffolding which is working fine. Subsequently, I have created a form in the dashboard which users can submit after logging in the app.
I have created an admin panel which wherein requests submitted by users will be approved. But how to identify which user has submitted a particular request? Should i include a column in the requests table "submitted_by" and in the crud controller, save the value from auth()->user.
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2ilYtnh
via IFTTT
Aucun commentaire:
Enregistrer un commentaire