From 5410e0916d3eb8069f0ce5847d1875ebb9ea9044 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 30 May 2026 22:17:29 +0800 Subject: [PATCH] =?UTF-8?q?fix(controller):=20resolve=20F-01=20=E2=80=94?= =?UTF-8?q?=20create=20missing=20HomeController=20with=20correct=20column?= =?UTF-8?q?=20names=20(lat/lng)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/Http/Controllers/HomeController.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/app/Http/Controllers/HomeController.php diff --git a/src/app/Http/Controllers/HomeController.php b/src/app/Http/Controllers/HomeController.php new file mode 100644 index 00000000..861545d9 --- /dev/null +++ b/src/app/Http/Controllers/HomeController.php @@ -0,0 +1,18 @@ +select('stationid', 'name', 'district', 'lat', 'lng', 'rainfall', 'waterlevel', 'siren') + ->orderBy('stationid') + ->get(); + + return view('layout.dashboard', compact('stations')); + } +} \ No newline at end of file