summaryrefslogtreecommitdiffstats
path: root/lib/private/Route
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-03-23 16:33:11 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2020-04-18 11:21:28 +0200
commit3f8168b6e5c0fc14709b713d9ca4943f9df70273 (patch)
tree4f8e0a487f6a1c50c041ac96da2f024b86ab1532 /lib/private/Route
parent64196ddd19684b6a218428eeb6ee370d0514b68c (diff)
downloadnextcloud-server-3f8168b6e5c0fc14709b713d9ca4943f9df70273.tar.gz
nextcloud-server-3f8168b6e5c0fc14709b713d9ca4943f9df70273.zip
Allow some apps to have root URLs in their own routing file
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Route')
-rw-r--r--lib/private/Route/Router.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/private/Route/Router.php b/lib/private/Route/Router.php
index ccb1578f8d3..9c6e69908e7 100644
--- a/lib/private/Route/Router.php
+++ b/lib/private/Route/Router.php
@@ -151,7 +151,6 @@ class Router implements IRouter {
$this->useCollection($app);
$this->requireRouteFile($file, $app);
$collection = $this->getCollection($app);
- $collection->addPrefix('/apps/' . $app);
$this->root->addCollection($collection);
// Also add the OCS collection