diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2015-02-09 14:23:18 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2015-03-11 15:02:55 +0100 |
commit | 0bf1152a512d72a390da3b6ae9432066db4df1fa (patch) | |
tree | dbafd3147d2f53ad7442d55601d857b47c2ec315 /apps/files_sharing/appinfo/routes.php | |
parent | 39b0f0725ec4a253c07e14d7b734b0260bcb0735 (diff) | |
download | nextcloud-server-0bf1152a512d72a390da3b6ae9432066db4df1fa.tar.gz nextcloud-server-0bf1152a512d72a390da3b6ae9432066db4df1fa.zip |
Added route again
Diffstat (limited to 'apps/files_sharing/appinfo/routes.php')
-rw-r--r-- | apps/files_sharing/appinfo/routes.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/files_sharing/appinfo/routes.php b/apps/files_sharing/appinfo/routes.php index dd9509575b7..307b4acfcd1 100644 --- a/apps/files_sharing/appinfo/routes.php +++ b/apps/files_sharing/appinfo/routes.php @@ -56,3 +56,9 @@ $this->create('sharing_external_test_remote', '/testremote') '/apps/files_sharing/api/v1/shares/{id}', array('\OCA\Files_Sharing\API\Local', 'deleteShare'), 'files_sharing'); + +// Register with the capabilities API +\OC_API::register('get', + '/cloud/capabilities', + array('OCA\Files_Sharing\Capabilities', 'getCapabilities'), + 'files_sharing', \OC_API::USER_AUTH); |