First work on the git browser.

This commit is contained in:
Loic d'Anterroches
2008-07-26 18:42:41 +02:00
parent 2e711bee8d
commit 876e206742
10 changed files with 356 additions and 2 deletions

View File

@@ -51,8 +51,8 @@ $ctl[] = array('regex' => '#^/help/$#',
$ctl[] = array('regex' => '#^/p/(\w+)/$#',
'base' => $base,
'priority' => 4,
'model' => 'IDF_Views',
'method' => 'projectHome');
'model' => 'IDF_Views_Project',
'method' => 'home');
$ctl[] = array('regex' => '#^/p/(\w+)/issues/$#',
'base' => $base,
@@ -90,6 +90,29 @@ $ctl[] = array('regex' => '#^/p/(\w+)/issues/my/(\w+)/$#',
'model' => 'IDF_Views_Issue',
'method' => 'myIssues');
// ---------- GIT ----------------------------------------
$ctl[] = array('regex' => '#^/p/(\w+)/source/$#',
'base' => $base,
'priority' => 4,
'model' => 'IDF_Views_Source',
'method' => 'index');
$ctl[] = array('regex' => '#^/p/(\w+)/source/tree/(\w+)/$#',
'base' => $base,
'priority' => 4,
'model' => 'IDF_Views_Source',
'method' => 'treeBase');
$ctl[] = array('regex' => '#^/p/(\w+)/source/tree/(\w+)/(.*)$#',
'base' => $base,
'priority' => 4,
'model' => 'IDF_Views_Source',
'method' => 'tree');
// ---------- ADMIN --------------------------------------
$ctl[] = array('regex' => '#^/p/(\w+)/admin/$#',
'base' => $base,
'priority' => 4,