gata basic ul
This commit is contained in:
@@ -23,7 +23,7 @@ $app->router->get('/home', [SiteController::class, 'home']);
|
||||
$app->router->get('/_404', [SiteController::class, '_404']);
|
||||
|
||||
$app->router->get('/contact', [SiteController::class, 'contact']);
|
||||
$app->router->post('/contact', [SiteController::class, 'handleContact']);
|
||||
$app->router->post('/contact', [SiteController::class, 'contact']);
|
||||
|
||||
$app->router->get('/login', [AuthController::class, 'login']);
|
||||
$app->router->post('/login', [AuthController::class, 'login']);
|
||||
@@ -35,5 +35,7 @@ $app->router->get('/profile', [AuthController::class, 'profile']);
|
||||
$app->router->post('/profile', [AuthController::class, 'profile']);
|
||||
|
||||
$app->router->get('/logout', [AuthController::class, 'logout']);
|
||||
|
||||
$app->router->get('/login/{id}', [SiteController::class, 'login']);
|
||||
|
||||
$app->run();
|
||||
|
||||
Reference in New Issue
Block a user