Closed ap1969 closed 2 years ago
Aaaargh! It was some sort of disconnected between the resource filename and the model. I had defined the model and resource as Plans and PlansResource. I changed both of those to Plan and PlanResource, and now the menu has appeared.
Andy
Hi, I've got an odd problem, in a near pristine install of Laravel + Orchid + Crud.
I've created a new resource via artisan:
And yet, it's not appearing the menu. I have no other resources, so the entire Resource section of the menu is missing.
I've narrowed it down to this section of ResourceFinder.php
Specifically, is_subclass_of($class, Resource::class) - this is returning false.
Any ideas?
Regards, Andy