diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-05-05 10:12:40 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-05-05 10:12:40 +0200 |
commit | 341fcdc37a74b630ef7d47b5f0b336622c072ddc (patch) | |
tree | e2fbd468eebcbf93edf243fd0fa66ce24d2aeb74 /apps/files_trashbin | |
parent | d2754af7c39b2573db455e38e7700a338d979631 (diff) | |
parent | d163441f3e1d011c117eca54eb9d23c0b58a23a8 (diff) | |
download | nextcloud-server-341fcdc37a74b630ef7d47b5f0b336622c072ddc.tar.gz nextcloud-server-341fcdc37a74b630ef7d47b5f0b336622c072ddc.zip |
Merge pull request #8407 from owncloud/scale-pics-on-public-sharing-master
Images on public sharing get downscaled to increase use experience - thi...
Diffstat (limited to 'apps/files_trashbin')
-rw-r--r-- | apps/files_trashbin/appinfo/routes.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/files_trashbin/appinfo/routes.php b/apps/files_trashbin/appinfo/routes.php index b1c3f02741e..42398a06c8b 100644 --- a/apps/files_trashbin/appinfo/routes.php +++ b/apps/files_trashbin/appinfo/routes.php @@ -1,5 +1,6 @@ <?php -$this->create('core_ajax_trashbin_preview', '/preview.png')->action( +/** @var $this \OCP\Route\IRouter */ +$this->create('core_ajax_trashbin_preview', '/preview')->action( function() { require_once __DIR__ . '/../ajax/preview.php'; -});
\ No newline at end of file +}); |