diff options
Diffstat (limited to 'lib/private/api.php')
-rw-r--r-- | lib/private/api.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/api.php b/lib/private/api.php index e9c144564f0..75d87b333d5 100644 --- a/lib/private/api.php +++ b/lib/private/api.php @@ -72,6 +72,7 @@ class OC_API { ->requirements($requirements) ->action('OC_API', 'call'); self::$actions[$name] = array(); + OC::$server->getRouter()->useCollection('root'); } self::$actions[$name][] = array('app' => $app, 'action' => $action, 'authlevel' => $authLevel); } |