Namespace of single pages in their own directory
Permalink
I can get a single page to work using the root directory of the application folder using the namespace but if I put my single page into its own directory it no longer sees the controller. To be clear, I had my single page working in the root folder of application, created a directory in both application/single_pages and application/controller/single_page and copied my files there. I changed the namespace to
but it didn't work. I then changed the namespace back to just which also didn't work. Is there something else that is different between single pages in root and single pages in their own directory?
namespace Application\Controller\SinglePage;
namespace Application\Controller\SinglePage\Mydirectory;
Application\Controller\SinglePage