diff options
author | Morris Jobke <hey@morrisjobke.de> | 2014-09-21 23:07:17 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-09-21 23:07:17 +0200 |
commit | 567977ec63473f71029cd944c0c81f6cc4af71c5 (patch) | |
tree | 0c7abaa437984bc3443d09db83c1d8f9680690a4 | |
parent | 154e848ce2b51dd3d6d755c0d0a688c1c572355c (diff) | |
parent | 9fd23d2edf689f61a1e7464a1e57caaf513a79f3 (diff) | |
download | nextcloud-server-567977ec63473f71029cd944c0c81f6cc4af71c5.tar.gz nextcloud-server-567977ec63473f71029cd944c0c81f6cc4af71c5.zip |
Merge pull request #11203 from owncloud/fix_broken_previews_on_public_page
files_sharing: add route for ajax/publicpreview
-rw-r--r-- | apps/files_sharing/appinfo/routes.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_sharing/appinfo/routes.php b/apps/files_sharing/appinfo/routes.php index d5a48025d4a..d58a97e2956 100644 --- a/apps/files_sharing/appinfo/routes.php +++ b/apps/files_sharing/appinfo/routes.php @@ -7,6 +7,8 @@ $this->create('core_ajax_public_preview', '/publicpreview')->action( $this->create('files_sharing_ajax_list', 'ajax/list.php') ->actionInclude('files_sharing/ajax/list.php'); +$this->create('files_sharing_ajax_publicpreview', 'ajax/publicpreview.php') + ->actionInclude('files_sharing/ajax/publicpreview.php'); $this->create('sharing_external_shareinfo', '/shareinfo') ->actionInclude('files_sharing/ajax/shareinfo.php'); $this->create('sharing_external_add', '/external') |