Hi,
I am trying to setup a custom router to create a "admin area" type of thing:
I've started with:
$frontController = Zend_Controller_Front::getInstance();
$router = $frontController->getRouter();
$router->addRoute( 'listTeachers',
new Zend_Controller_Router_Route('admin', array( 'controller' =>
'teacher', 'action' => 'index'))
);
Which works, when I go to http://domain.com/admin
How do I create a sort of wild-card route so that I can access all of
the actions in the teacher controller?
If I do http://domain.com/admin/teacher/add I get
Invalid controller specified "admin"
TIA, Mark