Finally save pagerevision and resourcerevision relations when a new page
revision is created; fix a couple of bugs and streamline the view logic for viewPage and viewResource.
This commit is contained in:
@@ -332,7 +332,7 @@ $ctl[] = array('regex' => '#^/p/([\-\w]+)/page/(.*)/$#',
|
||||
'model' => 'IDF_Views_Wiki',
|
||||
'method' => 'viewPage');
|
||||
|
||||
$ctl[] = array('regex' => '#^/p/([\-\w]+)/resouce/(.*)/$#',
|
||||
$ctl[] = array('regex' => '#^/p/([\-\w]+)/resource/(.*)/$#',
|
||||
'base' => $base,
|
||||
'model' => 'IDF_Views_Wiki',
|
||||
'method' => 'viewResource');
|
||||
|
Reference in New Issue
Block a user