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
namespace Application\Controller\SinglePage;
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
namespace Application\Controller\SinglePage\Mydirectory;
but it didn't work. I then changed the namespace back to just
Application\Controller\SinglePage
which also didn't work. Is there something else that is different between single pages in root and single pages in their own directory?

 
codifyio replied on at Permalink Reply
Not sure what I did, but was able to fix this. It simply worked when I tried it today.