Closed mohamed-hendawy closed 3 months ago
Seems legit, I'll check this scenario later and merge once confirmed 👌
Good, but we still have invalid case with overridden models for example member model will be adminarea.cybertalents.foundation.members.index instead of adminarea.cortex.auth.members.index
when we have Cortex\Auth\Models\MemberTenantable model, the generated route will be
adminarea.cortex.membertenantables.membertenantables.index
but the correct route should beadminarea.cortex.auth.members.index
so we need to get the module name and the morph class for the resource.