'items', 'action' => 'index')); Router::connect('/items/delete/:id', array('controller' => 'items', 'action' => 'delete'), array('pass' => array('id'), 'id' => '[0-9]+')); Router::connect('/items/view/:id', array('controller' => 'items', 'action' => 'view'), array('pass' => array('id'), 'id' => '[0-9]+')); Router::connect('/items/edit/:id', array('controller' => 'items', 'action' => 'edit'), array('pass' => array('id'), 'id' => '[0-9]+')); /** * 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';