'events', 'action' => 'index')); // admin pagination Router::connect('/users/admin_index/*', array('controller' => 'users', 'action' => 'index', 'admin' => true)); // Activate REST Router::mapResources(array('events')); Router::parseExtensions('xml'); /** * Load all plugin routes. See the CakePlugin documentation on * how to customize the loading of plugin routes. */ CakePlugin::routes(); /** * Load the CakePHP default routes. Remove this if you do not want to use * the built-in default routes. */ require CAKE . 'Config' . DS . 'routes.php';