Skip to content

Commit f7cdb22

Browse files
Merge pull request #54530 from nextcloud/fix/lowercase-profile-page-route-name
2 parents 4636e16 + a98ba27 commit f7cdb22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/private/Route/Router.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,8 +442,8 @@ protected function fixLegacyRootName(string $routeName): string {
442442
if ($routeName === 'cloud_federation_api.requesthandlercontroller.receivenotification') {
443443
return 'cloud_federation_api.requesthandler.receivenotification';
444444
}
445-
if ($routeName === 'core.ProfilePage.index') {
446-
return 'profile.ProfilePage.index';
445+
if ($routeName === 'core.profilepage.index') {
446+
return 'profile.profilepage.index';
447447
}
448448
return $routeName;
449449
}

0 commit comments

Comments
 (0)