summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/appinfo
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-03-02 22:30:24 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-03-02 22:30:24 +0100
commit1291303c5a312fad9f01fbaf22cc21e3b9b3675d (patch)
treec1e46efc7589c3101a8c3806ecc3112c8f3e2849 /apps/files_sharing/appinfo
parent88c9ae129e7dcc0e10aee682c8d4fa31b93b614c (diff)
downloadnextcloud-server-1291303c5a312fad9f01fbaf22cc21e3b9b3675d.tar.gz
nextcloud-server-1291303c5a312fad9f01fbaf22cc21e3b9b3675d.zip
Replace OC.Router.generate() with OC.generateUrl()
Diffstat (limited to 'apps/files_sharing/appinfo')
-rw-r--r--apps/files_sharing/appinfo/routes.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/appinfo/routes.php b/apps/files_sharing/appinfo/routes.php
index 3469829b6f7..9417a6eeb89 100644
--- a/apps/files_sharing/appinfo/routes.php
+++ b/apps/files_sharing/appinfo/routes.php
@@ -1,4 +1,5 @@
<?php
+/** @var $this OC_Router */
$this->create('core_ajax_public_preview', '/publicpreview.png')->action(
function() {
require_once __DIR__ . '/../ajax/publicpreview.php';