App\Models\student not found
My resource class 'student' are users with a specific role_id from USER MODEL
How do I go about this?
How do I go about this?
Solution
Change the model. Add
getEloquentQuery() to your resource and add the where clause there