diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-01-15 08:11:11 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-01-20 21:12:26 +0100 |
commit | 0ebc92c44ab6332e74e88fb3a32e860139417677 (patch) | |
tree | 59804041f807e6fef595b7e2a518b4217ffede5e /apps/files_sharing/templates | |
parent | e40d21673ea4dfc000ce81839e88a0e53ddd8baa (diff) | |
download | nextcloud-server-0ebc92c44ab6332e74e88fb3a32e860139417677.tar.gz nextcloud-server-0ebc92c44ab6332e74e88fb3a32e860139417677.zip |
[Share 2.0] Move showing link share to sharing 2.0
Diffstat (limited to 'apps/files_sharing/templates')
-rw-r--r-- | apps/files_sharing/templates/public.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php index aa1f926ea35..e6c4f57009f 100644 --- a/apps/files_sharing/templates/public.php +++ b/apps/files_sharing/templates/public.php @@ -26,7 +26,7 @@ $thumbSize = 1024; ?> <?php if ($_['previewSupported']): /* This enables preview images for links (e.g. on Facebook, Google+, ...)*/?> - <link rel="image_src" href="<?php p(OCP\Util::linkToRoute( 'core_ajax_public_preview', array('x' => $thumbSize, 'y' => $thumbSize, 'file' => $_['directory_path'], 't' => $_['dirToken']))); ?>" /> + <link rel="image_src" href="<?php p(\OC::$server->getURLGenerator()->linkToRoute( 'core_ajax_public_preview', array('x' => $thumbSize, 'y' => $thumbSize, 'file' => $_['directory_path'], 't' => $_['dirToken']))); ?>" /> <?php endif; ?> <div id="notification-container"> |