I was starting to get a LOT of routes in my bootstrap so I decided to move them to a config file to clean it up. I'm fairly sure I have the syntax correct, but for some reason my route won't work now. Here is my config file:
and here is my code from my bootstrap:
protected function _initRoutes()
$router = Zend_Controller_Front::getInstance()->getRouter();
$router->addConfig(new Zend_Config_Xml(APPLICATION_PATH . '/configs/routes.xml'));
// More routes below. I only moved over the first two to try it out.
Neither of the routes from m config are registering. What am I doing wrong here?
Never mind. All I had to do was remove the "config" tags and it seems to be working now.