From ad202250a8f30486b0694f9d2660d33b2453521c Mon Sep 17 00:00:00 2001
From: Lukas Reschke <lukas@owncloud.com>
Date: Tue, 19 Aug 2014 15:22:54 +0200
Subject: [PATCH] Add routing to files_sharing

---
 apps/files_sharing/appinfo/routes.php | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/apps/files_sharing/appinfo/routes.php b/apps/files_sharing/appinfo/routes.php
index e68b953fc0..d5a48025d4 100644
--- a/apps/files_sharing/appinfo/routes.php
+++ b/apps/files_sharing/appinfo/routes.php
@@ -5,10 +5,14 @@ $this->create('core_ajax_public_preview', '/publicpreview')->action(
 		require_once __DIR__ . '/../ajax/publicpreview.php';
 	});
 
-$this->create('sharing_external_shareinfo', '/shareinfo')->actionInclude('files_sharing/ajax/shareinfo.php');
-$this->create('sharing_external_add', '/external')->actionInclude('files_sharing/ajax/external.php');
-$this->create('sharing_external_test_remote', '/testremote')->actionInclude('files_sharing/ajax/testremote.php');
-
+$this->create('files_sharing_ajax_list', 'ajax/list.php')
+	->actionInclude('files_sharing/ajax/list.php');
+$this->create('sharing_external_shareinfo', '/shareinfo')
+	->actionInclude('files_sharing/ajax/shareinfo.php');
+$this->create('sharing_external_add', '/external')
+	->actionInclude('files_sharing/ajax/external.php');
+$this->create('sharing_external_test_remote', '/testremote')
+	->actionInclude('files_sharing/ajax/testremote.php');
 // OCS API
 
 //TODO: SET: mail notification, waiting for PR #4689 to be accepted
-- 
GitLab