Added route again

This commit is contained in:
Roeland Jago Douma 2015-02-09 14:23:18 +01:00
parent 39b0f0725e
commit 0bf1152a51
1 changed files with 6 additions and 0 deletions

View File

@ -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);