diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2016-05-11 19:39:57 +0200 |
---|---|---|
committer | Thomas Müller <DeepDiver1975@users.noreply.github.com> | 2016-05-11 19:39:57 +0200 |
commit | ee0ebd192a394e4f9d4c9dd2c78b1b4d6a211c7a (patch) | |
tree | 85a2792f6c0fd961994fc27d7db4d9a7e2ee0d77 /core/Controller | |
parent | 2a05035339901e630fccae90639985c00d6803e9 (diff) | |
download | nextcloud-server-ee0ebd192a394e4f9d4c9dd2c78b1b4d6a211c7a.tar.gz nextcloud-server-ee0ebd192a394e4f9d4c9dd2c78b1b4d6a211c7a.zip |
Use proper URL generation function (#24576)
Fixes the redirection after login, otherwise `core/files/index` is opened which fails.
Diffstat (limited to 'core/Controller')
-rw-r--r-- | core/Controller/LoginController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Controller/LoginController.php b/core/Controller/LoginController.php index 6985e2be87e..36044731377 100644 --- a/core/Controller/LoginController.php +++ b/core/Controller/LoginController.php @@ -194,7 +194,7 @@ class LoginController extends Controller { return new RedirectResponse($location); } } - return new RedirectResponse($this->urlGenerator->linkTo('files', 'index')); + return new RedirectResponse($this->urlGenerator->linkToRoute('files.view.index')); } } |