Added the ability to download a zip file of the code at a given commit.

This commit is contained in:
Loic d'Anterroches
2008-08-02 13:51:42 +02:00
parent d46ddea543
commit 49f339c7c5
5 changed files with 47 additions and 2 deletions

View File

@@ -141,6 +141,12 @@ $ctl[] = array('regex' => '#^/p/(\w+)/source/commit/(\w+)/$#',
'model' => 'IDF_Views_Source',
'method' => 'commit');
$ctl[] = array('regex' => '#^/p/(\w+)/source/download/(\w+)/$#',
'base' => $base,
'priority' => 4,
'model' => 'IDF_Views_Source',
'method' => 'download');
// ---------- ADMIN --------------------------------------