[ROUTE] Network and replies routes added
This commit is contained in:
parent
e1e3e2d9b3
commit
62e76cb036
|
@ -47,8 +47,10 @@ abstract class Main
|
|||
$r->connect('register', '/register', [C\Security::class, 'register']);
|
||||
|
||||
$r->connect('root', '/', RedirectController::class, ['defaults' => ['route' => 'main_all']]);
|
||||
$r->connect('main_all', '/main/all', [C\Network::class, 'public']);
|
||||
$r->connect('main_public', '/main/public', [C\Network::class, 'public']);
|
||||
$r->connect('main_all', '/main/all', [C\Network::class, 'network']);
|
||||
$r->connect('home_all', '/{nickname<' . Nickname::DISPLAY_FMT . '>}/all', [C\Network::class, 'home']);
|
||||
$r->connect('replies', '/{nickname<' . Nickname::DISPLAY_FMT . '>}/replies', [C\Network::class, 'replies']);
|
||||
|
||||
$r->connect('panel', '/panel', [C\AdminPanel::class, 'site']);
|
||||
$r->connect('panel_site', '/panel/site', [C\AdminPanel::class, 'site']);
|
||||
|
|
Loading…
Reference in New Issue
Block a user