From 00724b337def4e98eda19c67f2fa41addb4c6a16 Mon Sep 17 00:00:00 2001 From: Daniel Covington Date: Wed, 20 May 2026 12:39:20 -0400 Subject: [PATCH] cleanup unused code --- app/Controllers/HomeController.php | 7 ------- routes/web.php | 1 - 2 files changed, 8 deletions(-) diff --git a/app/Controllers/HomeController.php b/app/Controllers/HomeController.php index ad74532..ba91d39 100644 --- a/app/Controllers/HomeController.php +++ b/app/Controllers/HomeController.php @@ -36,11 +36,4 @@ class HomeController extends Controller 'pageTitle' => 'Dashboard', ]); } - - public function user(string $id) - { - return $this->json([ - 'userId' => $id, - ]); - } } diff --git a/routes/web.php b/routes/web.php index f393574..77f2002 100644 --- a/routes/web.php +++ b/routes/web.php @@ -31,7 +31,6 @@ $router->post('/logout', [AuthController::class, 'logout']); // ── Public ──────────────────────────────────────────────────────────────────── $router->get('/', [HomeController::class, 'index']); $router->get('/health', [HealthController::class, 'index']); -$router->get('/users/{id}', [HomeController::class, 'user']); // ── Campaigns ───────────────────────────────────────────────────────────────── $router->get('/campaigns', [CampaignController::class, 'index']) ->middleware('auth');