Added ticket 86, preview attached files to issues.

This commit is contained in:
Loic d'Anterroches
2008-12-30 18:00:59 +01:00
parent e6b19a695b
commit 2078d69a83
8 changed files with 80 additions and 6 deletions

View File

@@ -174,6 +174,12 @@ $ctl[] = array('regex' => '#^/p/([\-\w]+)/issues/attachment/(\d+)/(.*)$#',
'model' => 'IDF_Views_Issue',
'method' => 'getAttachment');
$ctl[] = array('regex' => '#^/p/([\-\w]+)/issues/view/attachment/(\d+)/(.*)$#',
'base' => $base,
'priority' => 4,
'model' => 'IDF_Views_Issue',
'method' => 'viewAttachment');
// ---------- SCM ----------------------------------------
$ctl[] = array('regex' => '#^/p/([\-\w]+)/source/tree/([^/]+)/$#',