From 79fe45e4550fcec4a872a35d1001c5b2956f123e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9=20=20=D0=9B=D0=B0=D1=80?= =?UTF-8?q?=D0=B8=D0=BE=D0=BD=D0=BE=D0=B2?= Date: Thu, 28 Mar 2024 19:30:34 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9A=D0=BE=D0=BC=D0=BC=D0=B8=D1=82=20-=20=D1=84?= =?UTF-8?q?=D0=B8=D0=BD=D0=B0=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Controllers/MainController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/MainController.php b/app/Http/Controllers/MainController.php index 544c930..0c44354 100644 --- a/app/Http/Controllers/MainController.php +++ b/app/Http/Controllers/MainController.php @@ -39,7 +39,7 @@ class MainController extends Controller ->GroupBy('categories.id') ->get(); - $Position = Positions::query()->get(); + $Position = Category::query()->get(); /*$BigFlot = Array(); foreach ($Position as $position) { @@ -149,7 +149,7 @@ class MainController extends Controller $categories = $categories->OrderByDesc('created_at')->GroupBy('categories.id')->get(); - $Position = Positions::query()->get(); + $Position = Category::query()->get(); /*$BigFlot = Array(); foreach ($Position as $position) { -- 1.7.10.4