Bolt\Controller\Backend\Users::addRoutes PHP Method

addRoutes() protected method

protected addRoutes ( Silex\ControllerCollection $c )
$c Silex\ControllerCollection
    protected function addRoutes(ControllerCollection $c)
    {
        $c->get('/users', 'admin')->bind('users');
        $c->match('/users/edit/{id}', 'edit')->assert('id', '\\d*')->bind('useredit');
        $c->match('/userfirst', 'first')->bind('userfirst');
        $c->post('/user/{action}/{id}', 'modify')->bind('useraction');
        $c->match('/profile', 'profile')->bind('profile');
        $c->get('/roles', 'viewRoles')->bind('roles');
    }