})->assert('repo', '[\w-._]+')
->assert('branch', '[\w-._]+')
->assert('tree', '.+')
->bind('tree');
$app->get('{repo}/{branch}/', function($repo, $branch) use($app, $treeController) {
return $treeController($repo, $branch);
})->assert('repo', '[\w-._]+')