Skip to content
Snippets Groups Projects
Commit 1c4668f8 authored by Morris Jobke's avatar Morris Jobke
Browse files

Merge pull request #13399 from owncloud/trashbin-fixpreviewroute

Fix preview route for trashbin
parents 9526acbc a76f0a0b
No related branches found
No related tags found
No related merge requests found
<?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')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment