Check out the documentation in this section: Plugin Configuration .
First add your routes to the application / Plugin / YourPlugin / Config / routes.php
And do it in app / Config / bootstrap.php:
<?php
CakePlugin::loadAll(array(
'Blog' => array('routes' => true),
'ContactManager' => array('bootstrap' => true),
'WebmasterTools' => array('bootstrap' => true, 'routes' => true),
));
And it will load all your available plugins, but add additional parameters that you list in the array parameter. If you want to load routes for all available plugins, do this in app / Config / bootstrap.php:
<?php
CakePlugin::loadAll(array(
array('bootstrap' => true)
));
Good luck
source
share