aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Route
diff options
context:
space:
mode:
authorskjnldsv <skjnldsv@protonmail.com>2024-11-13 11:38:09 +0100
committerskjnldsv <skjnldsv@protonmail.com>2024-11-14 10:25:33 +0100
commit54be2ef0f32bd7b4e4aaa0b0c4a04bfd9dc4ffdf (patch)
treea6e4f42d52bcfa9072827a443494cd79b514bbd0 /lib/private/Route
parent158299b3d7df99c0f3d90b595007e284cd4c946d (diff)
downloadnextcloud-server-54be2ef0f32bd7b4e4aaa0b0c4a04bfd9dc4ffdf.tar.gz
nextcloud-server-54be2ef0f32bd7b4e4aaa0b0c4a04bfd9dc4ffdf.zip
fix(profile): add legacy root for old `core.ProfilePage.index`
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Diffstat (limited to 'lib/private/Route')
-rw-r--r--lib/private/Route/Router.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/Route/Router.php b/lib/private/Route/Router.php
index 7ec2aac021c..886e70c9a35 100644
--- a/lib/private/Route/Router.php
+++ b/lib/private/Route/Router.php
@@ -407,6 +407,9 @@ class Router implements IRouter {
if ($routeName === 'cloud_federation_api.requesthandlercontroller.receivenotification') {
return 'cloud_federation_api.requesthandler.receivenotification';
}
+ if ($routeName === 'core.ProfilePage.index') {
+ return 'profile.ProfilePage.index';
+ }
return $routeName;
}