rinvex / cortex-foundation-classic

The core foundation of Rinvex Cortex modular application architecture.
MIT License
7 stars 5 forks source link

fix methods from parent controllers #369

Closed mohamed-hendawy closed 3 months ago

mohamed-hendawy commented 1 year ago

when we use $item->class === $controller->name it will return false for all methods from parent classes, so we need to check if $item->class is equal the current class or any parent class.

Omranic commented 3 months ago

Not tested, but seems legit. Make sure to test thoroughly before deploying! Merged!!