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

addRoutes() protected method

protected addRoutes ( Silex\ControllerCollection $c )
$c Silex\ControllerCollection
    protected function addRoutes(ControllerCollection $c)
    {
        $c->match('/{namespace}', 'uploadNamespace')->before([$this, 'before'])->value('namespace', 'files')->bind('upload');
        return $c;
    }