Add Project List API

This commit is contained in:
William MARTIN
2011-03-07 15:01:51 +01:00
parent fba5841bdc
commit c3cd494386
4 changed files with 39 additions and 6 deletions

View File

@@ -364,6 +364,11 @@ $ctl[] = array('regex' => '#^/api/p/([\-\w]+)/issues/create/$#',
'model' => 'IDF_Views_Api',
'method' => 'issueCreate');
$ctl[] = array('regex' => '#^/api/$#',
'base' => $base,
'model' => 'IDF_Views_Api',
'method' => 'projectIndex');
// ---------- FORGE ADMIN --------------------------------
$ctl[] = array('regex' => '#^/admin/projects/$#',