aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib/Controller/ViewController.php
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2020-01-10 19:11:32 +0100
committerGitHub <noreply@github.com>2020-01-10 19:11:32 +0100
commitb805d0c764e82220093782a334f760362f057a5e (patch)
tree2b4b05fd40e77f3d1bef10f9f1667e70ccef5a29 /apps/files/lib/Controller/ViewController.php
parent4b28da1dd9a6acf4f04b69474f18ce883323caa3 (diff)
parent22079347ea8798bcec80d56793e87adae1de499b (diff)
downloadnextcloud-server-b805d0c764e82220093782a334f760362f057a5e.tar.gz
nextcloud-server-b805d0c764e82220093782a334f760362f057a5e.zip
Fix webdav url (#18804)
Fix webdav url
Diffstat (limited to 'apps/files/lib/Controller/ViewController.php')
-rw-r--r--apps/files/lib/Controller/ViewController.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files/lib/Controller/ViewController.php b/apps/files/lib/Controller/ViewController.php
index ed3fff223f7..688db41f8b0 100644
--- a/apps/files/lib/Controller/ViewController.php
+++ b/apps/files/lib/Controller/ViewController.php
@@ -248,6 +248,8 @@ class ViewController extends Controller {
$nav->assign('quota', $storageInfo['quota']);
$nav->assign('usage_relative', $storageInfo['relative']);
+ $nav->assign('webdav_url', \OCP\Util::linkToRemote('dav/files/' . $user));
+
$contentItems = [];
// render the container content for every navigation item