F
Filament4mo ago
Mikail

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?
Solution:
Change the model. Add getEloquentQuery() to your resource and add the where clause there
Jump to solution
2 Replies
Solution
Dennis Koch
Dennis Koch4mo ago
Change the model. Add getEloquentQuery() to your resource and add the where clause there
Mikail
Mikail4mo ago
Alright thanks for the swift response