Skip to content

Commit

Permalink
Made routes remote_shares only again
Browse files Browse the repository at this point in the history
  • Loading branch information
rullzer committed Oct 1, 2015
1 parent 2a2f2c3 commit 0e95eb6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions apps/files_sharing/appinfo/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,25 +88,25 @@ function() {
'files_sharing');

API::register('get',
'/apps/files_sharing/api/v1/pending_shares',
'/apps/files_sharing/api/v1/remote_shares',
array('\OCA\Files_Sharing\API\Remote', 'getShares'),
'files_sharing');

API::register('get',
'/apps/files_sharing/api/v1/remote_shares/pending',
array('\OCA\Files_Sharing\API\Remote', 'getOpenShares'),
'files_sharing');

API::register('post',
'/apps/files_sharing/api/v1/pending_shares/{id}',
'/apps/files_sharing/api/v1/remote_shares/pending/{id}',
array('\OCA\Files_Sharing\API\Remote', 'acceptShare'),
'files_sharing');

API::register('delete',
'/apps/files_sharing/api/v1/pending_shares/{id}',
'/apps/files_sharing/api/v1/remote_shares/pending/{id}',
array('\OCA\Files_Sharing\API\Remote', 'declineShare'),
'files_sharing');

API::register('get',
'/apps/files_sharing/api/v1/remote_shares',
array('\OCA\Files_Sharing\API\Remote', 'getShares'),
'files_sharing');

API::register('get',
'/apps/files_sharing/api/v1/remote_shares/{id}',
array('\OCA\Files_Sharing\API\Remote', 'getShare'),
Expand Down

0 comments on commit 0e95eb6

Please sign in to comment.