I have a plugin that needs to override the default route for /
The file I have attempting this is at APP/Plugin/Install/Config/routes.php
<?php
Router::connect('/', array('plugin' => 'install', 'controller' => 'installer', 'action' => 'index'));
Which does not work. I am also loading all plugins in my bootstrap. CakePlugin::loadAll();
Am I missing something?
[UPDATE. This file needs to override the main routes.php file in APP/Config/routes.php. Obviously updating the main routes file works and shows the right page, but I am trying to override this file and not modify it directly.]