[ROUTE] Home timeline added

This commit is contained in:
rainydaysavings 2020-08-27 03:29:33 +01:00 committed by Hugo Sales
parent d08757d0a4
commit 7fab19fd8f
No known key found for this signature in database
GPG Key ID: 7D0C7EAFC9D835A0

View File

@ -46,7 +46,8 @@ abstract class Main
$r->connect('register', '/register', [C\Security::class, 'register']); $r->connect('register', '/register', [C\Security::class, 'register']);
$r->connect('root', '/', RedirectController::class, ['defaults' => ['route' => 'main_all']]); $r->connect('root', '/', RedirectController::class, ['defaults' => ['route' => 'main_all']]);
$r->connect('main_all', '/main/all', C\NetworkPublic::class); $r->connect('main_all', '/main/all', [C\NetworkPublic::class, 'public']);
$r->connect('home_all', '/user_here/all', [C\NetworkPublic::class, 'home']);
$r->connect('panel', '/panel', [C\AdminPanel::class, 'site']); $r->connect('panel', '/panel', [C\AdminPanel::class, 'site']);
$r->connect('panel_site', '/panel/site', [C\AdminPanel::class, 'site']); $r->connect('panel_site', '/panel/site', [C\AdminPanel::class, 'site']);