[ROUTES] Remove individual settings pages, as they got merged
This commit is contained in:
parent
27f2fbdade
commit
5aedf64e5b
@ -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]);
|
|
||||||
}*/
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user