I'm trying to set a default route like so:
$router->add("/", array( "controller" => "search", "action" => "index" ));
But it's having no effect. When I access http://mywebsite/ it still loads IndexController, indexAction instead of SearchController.
If I change the default controller than it works:
Why the default route doesn't work?