Roots Discourse

Child theme controllers inheritance

Hi

I have developed a child theme following https://discourse.roots.io/t/sage-9-child-theme/7385/22

and wokks fine

but, it is possible to inherit the controllers from the parent?

thanks

Hey,

Unfortunately it’s not possible to inherit controllors, I raised an issue here: https://github.com/soberwp/controller/issues/91

And unfortunately this was not picked up. Although powerful I opted not to use controllers as they are also not available during AJAX requests without creating global functions to make them available