'Fortunes', 'action' => 'index']); Router::connect('/db', ['controller' => 'World', 'action' => 'query']); Router::connect('/queries', ['controller' => 'World', 'action' => 'index']); Router::connect('/updates', ['controller' => 'World', 'action' => 'updates']); /** * Load all plugin routes. See the CakePlugin documentation on * how to customize the loading of plugin routes. */ CakePlugin::routes(); /** * Load the CakePHP default routes. Only remove this if you do not want to use * the built-in default routes. */ require CAKE . 'Config' . DS . 'routes.php';