summaryrefslogtreecommitdiffstats
path: root/lib/private/Route/Router.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-08-09 20:52:49 +0200
committerGitHub <noreply@github.com>2016-08-09 20:52:49 +0200
commit5214b62d55b3907eb2da7c8e51a3c0c6cd09a00f (patch)
treecfd4304c4eac1a5696cf5dfcb91ad9b562a8bd0e /lib/private/Route/Router.php
parentf3777f8271944103f780bd9869dbcc2f807ae901 (diff)
parent63f6d2d558f4b999f3851482122f3e3589ce4cfc (diff)
downloadnextcloud-server-5214b62d55b3907eb2da7c8e51a3c0c6cd09a00f.tar.gz
nextcloud-server-5214b62d55b3907eb2da7c8e51a3c0c6cd09a00f.zip
Merge pull request #691 from nextcloud/ocs_allow_all_old_routes
Allow ocs/v2.php/cloud/... routes
Diffstat (limited to 'lib/private/Route/Router.php')
-rw-r--r--lib/private/Route/Router.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Route/Router.php b/lib/private/Route/Router.php
index ac42c4025c2..9df74184448 100644
--- a/lib/private/Route/Router.php
+++ b/lib/private/Route/Router.php
@@ -154,7 +154,7 @@ class Router implements IRouter {
// Also add the OCS collection
$collection = $this->getCollection($app.'.ocs');
- $collection->addPrefix('/ocsapp/apps/' . $app);
+ $collection->addPrefix('/ocsapp');
$this->root->addCollection($collection);
}
}