Bolt\Controller\Async\General::addRoutes PHP Method

addRoutes() protected method

protected addRoutes ( Silex\ControllerCollection $c )
$c Silex\ControllerCollection
    protected function addRoutes(ControllerCollection $c)
    {
        $c->get('/', 'async')->bind('async');
        $c->get('/changelog/{contenttype}/{contentid}', 'changeLogRecord')->value('contenttype', '')->value('contentid', '0')->bind('changelogrecord');
        $c->get('/dashboardnews', 'dashboardNews')->bind('dashboardnews');
        $c->get('/lastmodified/{contenttypeslug}/{contentid}', 'lastModified')->value('contentid', '')->bind('lastmodified');
        $c->get('/latestactivity', 'latestActivity')->bind('latestactivity');
        $c->get('/makeuri', 'makeUri')->bind('makeuri');
        $c->get('/omnisearch', 'omnisearch')->bind('omnisearch');
        $c->get('/readme/{filename}', 'readme')->assert('filename', '.+')->bind('readme');
        $c->get('/populartags/{taxonomytype}', 'popularTags')->bind('populartags');
        $c->get('/tags/{taxonomytype}', 'tags')->bind('tags');
    }