single page controller 5.7

when i go to /index.php/email_signup/view i get Call to a member function getPageController() on a non-object
the controller is in the path: application/controllers/single_page/email_signup.php
namespace Concrete\Controller\SinglePage;
use \Concrete\Core\Page\Controller\PageController;
use Loader;
use Page;
use Permissions;
use File;
class EmailSignup extends PageController {
   public function view() {
       $this->set('value', '123');

any ideas how to make it work?

View Replies:
daenu replied on at Permalink Reply
I think it's a namespace issue:
When you create a single page in the application folder the namespace must point to there to:

namespace Concrete\Controller\SinglePage;

namespace Application\Controller\SinglePage;