Commit 79fe45e4550fcec4a872a35d1001c5b2956f123e

Authored by Андрей Ларионов
1 parent 8f150320c5

Коммит - финал

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

app/Http/Controllers/MainController.php
... ... @@ -39,7 +39,7 @@ class MainController extends Controller
39 39 ->GroupBy('categories.id')
40 40 ->get();
41 41  
42   - $Position = Positions::query()->get();
  42 + $Position = Category::query()->get();
43 43  
44 44 /*$BigFlot = Array();
45 45 foreach ($Position as $position) {
... ... @@ -149,7 +149,7 @@ class MainController extends Controller
149 149  
150 150 $categories = $categories->OrderByDesc('created_at')->GroupBy('categories.id')->get();
151 151  
152   - $Position = Positions::query()->get();
  152 + $Position = Category::query()->get();
153 153  
154 154 /*$BigFlot = Array();
155 155 foreach ($Position as $position) {