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) {