[ROUTES] Remove individual settings pages, as they got merged

This commit is contained in:
Hugo Sales 2021-08-04 20:07:37 +00:00
parent 27f2fbdade
commit 5aedf64e5b
Signed by: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0

View File

@ -67,11 +67,6 @@ abstract class Main
$r->connect('doc_' . $s, '/doc/' . $s, C\TemplateController::class, ['template' => 'doc/' . $s . '.html.twig']); $r->connect('doc_' . $s, '/doc/' . $s, C\TemplateController::class, ['template' => 'doc/' . $s . '.html.twig']);
} }
// Settings pages $r->connect('settings', '/settings', [C\UserPanel::class, 'all_settings']);
//$r->connect('settings', '/settings', RedirectController::class, ['defaults' => ['route' => 'settings']]);
$r->connect('settings', '/settings/', [C\UserPanel::class, 'all_settings']);
/*foreach (['personal_info', 'notifications', 'account'] as $s) {
$r->connect('settings', '/settings/', [C\UserPanel::class, $s]);
}*/
} }
} }