article

Thursday, May 27, 2010

How to define CakePHP admin routes.

How to define CakePHP admin routes.

find file
app\config\core.php

find below code
/**
* Uncomment the define below to use CakePHP admin routes.
*
* The value of the define determines the name of the route
* and its associated controller actions:
*
* 'admin' -> admin_index() and /admin/controller/index
* 'superuser' -> superuser_index() and /superuser/controller/index
*/
Configure::write('Routing.admin', 'admin');

Related Post