Commit b8233688e6c20886121bd09efe6a05590e1c37a3
1 parent
d76ea6dbb8
Exists in
master
Обновление3
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) { |