Fix preview route for trashbin
This commit is contained in:
parent
36ced1f002
commit
a76f0a0ba7
1 changed files with 2 additions and 5 deletions
|
@ -1,10 +1,7 @@
|
|||
<?php
|
||||
/** @var $this \OCP\Route\IRouter */
|
||||
$this->create('core_ajax_trashbin_preview', '/preview')->action(
|
||||
function() {
|
||||
require_once __DIR__ . '/../ajax/preview.php';
|
||||
});
|
||||
|
||||
$this->create('core_ajax_trashbin_preview', 'ajax/preview.php')
|
||||
->actionInclude('files_trashbin/ajax/preview.php');
|
||||
$this->create('files_trashbin_ajax_delete', 'ajax/delete.php')
|
||||
->actionInclude('files_trashbin/ajax/delete.php');
|
||||
$this->create('files_trashbin_ajax_isEmpty', 'ajax/isEmpty.php')
|
||||
|
|
Loading…
Reference in a new issue