Fixed issue 6, ability to remove an uploaded file.

This commit is contained in:
Loic d'Anterroches
2008-08-08 21:33:10 +02:00
parent bd0209a28e
commit 59a81279ff
8 changed files with 709 additions and 1206 deletions

View File

@@ -179,6 +179,12 @@ $ctl[] = array('regex' => '#^/p/(\w+)/downloads/create/$#',
'model' => 'IDF_Views_Download',
'method' => 'submit');
$ctl[] = array('regex' => '#^/p/(\w+)/downloads/(\d+)/delete/$#',
'base' => $base,
'priority' => 4,
'model' => 'IDF_Views_Download',
'method' => 'delete');
// ---------- ADMIN --------------------------------------