summaryrefslogtreecommitdiffstats
path: root/core/routes.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-08-09 10:21:51 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-08-09 20:56:31 +0200
commit02449c83365fae8d5a47b001b18605478122bd86 (patch)
tree78fa85da82809028ade6596aea785b97764303b7 /core/routes.php
parent575875e8d03e1396bcdb1fac75a7c6076fd92287 (diff)
downloadnextcloud-server-02449c83365fae8d5a47b001b18605478122bd86.tar.gz
nextcloud-server-02449c83365fae8d5a47b001b18605478122bd86.zip
Move getCapabilities over to Core
Diffstat (limited to 'core/routes.php')
-rw-r--r--core/routes.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/routes.php b/core/routes.php
index 98454946d45..92ce4440ecf 100644
--- a/core/routes.php
+++ b/core/routes.php
@@ -53,6 +53,9 @@ $application->registerRoutes($this, [
['name' => 'TwoFactorChallenge#showChallenge', 'url' => '/login/challenge/{challengeProviderId}', 'verb' => 'GET'],
['name' => 'TwoFactorChallenge#solveChallenge', 'url' => '/login/challenge/{challengeProviderId}', 'verb' => 'POST'],
],
+ 'ocs' => [
+ ['root' => '/cloud', 'name' => 'OCS#getCapabilities', 'url' => '/capabilities', 'verb' => 'GET'],
+ ],
]);
// Post installation check