20893cc3b3
- adding keep aspect to core/ajax/preview.php - remove duplicate method Preview::show() - no more hard coded mimetype of preview - remove .png from the preview urls - keep old route preview.png for backwards compatibility - aspect preserving previews are now cached
6 lines
173 B
PHP
6 lines
173 B
PHP
<?php
|
|
/** @var $this \OCP\Route\IRouter */
|
|
$this->create('core_ajax_trashbin_preview', '/preview')->action(
|
|
function() {
|
|
require_once __DIR__ . '/../ajax/preview.php';
|
|
});
|