Bolt\Controller\Backend\General::addRoutes PHP Метод

addRoutes() защищенный Метод

protected addRoutes ( Silex\ControllerCollection $c )
$c Silex\ControllerCollection
    protected function addRoutes(ControllerCollection $c)
    {
        $c->get('/about', 'about')->bind('about');
        $c->get('/checks', 'checks')->bind('checks');
        $c->get('/clearcache', 'clearCache')->bind('clearcache');
        $c->get('/', 'dashboard')->bind('dashboard');
        $c->get('/omnisearch', 'omnisearch')->bind('omnisearch-results');
        $c->match('/prefill', 'prefill')->bind('prefill');
        $c->match('/tr/{domain}/{tr_locale}', 'translation')->bind('translation')->assert('domain', 'messages|contenttypes|infos')->value('domain', 'messages')->value('tr_locale', $this->app['locale']);
    }