Merge pull request #13399 from owncloud/trashbin-fixpreviewroute
Fix preview route for trashbin
This commit is contained in:
commit
1c4668f808
|
@ -1,10 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
/** @var $this \OCP\Route\IRouter */
|
/** @var $this \OCP\Route\IRouter */
|
||||||
$this->create('core_ajax_trashbin_preview', '/preview')->action(
|
$this->create('core_ajax_trashbin_preview', 'ajax/preview.php')
|
||||||
function() {
|
->actionInclude('files_trashbin/ajax/preview.php');
|
||||||
require_once __DIR__ . '/../ajax/preview.php';
|
|
||||||
});
|
|
||||||
|
|
||||||
$this->create('files_trashbin_ajax_delete', 'ajax/delete.php')
|
$this->create('files_trashbin_ajax_delete', 'ajax/delete.php')
|
||||||
->actionInclude('files_trashbin/ajax/delete.php');
|
->actionInclude('files_trashbin/ajax/delete.php');
|
||||||
$this->create('files_trashbin_ajax_isEmpty', 'ajax/isEmpty.php')
|
$this->create('files_trashbin_ajax_isEmpty', 'ajax/isEmpty.php')
|
||||||
|
|
Loading…
Reference in New Issue