Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

How to use camel controller?

This is my controller

class AdminConsoleController extends BaseController
{

        public function indexAction()
        {
        }
}

And I use these urls

www.xxx.com/AdminConsole
www.xxx.com/adminconsole
www.xxx.com/Adminconsole
www.xxx.com/adminConsole

I can get this error only

PhalconException: AdminconsoleController handler class cannot be loaded

How to use this controller without chaging the file name?



83.2k
Accepted
answer

You have to access the controller this way:

www.xxx.com/admin-console