Added the download of a commit diff.

This fixes issue 50.
This commit is contained in:
Loic d'Anterroches
2008-11-25 20:11:09 +01:00
parent 6bee793704
commit 4dc0747769
3 changed files with 28 additions and 0 deletions

View File

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