Location: PHPKode > projects > Maintainable PHP Framework > config/routes.php
<?php
$map->connect('', array('controller' => 'home',
                        'action' => 'index'));

// ErrorController
$map->connect('error/page_not_found', array(
              'controller' => 'error',
              'action'     => 'page_not_found'));
$map->connect('error/:exception', array(
              'controller' => 'error',
              'action'     => 'index',
              'exception'  => null
             ));

$map->connect('admin/users', array('controller' => 'Admin_Users'));

// default
$map->connect(':controller/:action/:id', array('id' => null));
Return current item: Maintainable PHP Framework