|
@@ -49,7 +49,7 @@ class TutorialController extends Controller
|
|
'data' => $tutorial
|
|
'data' => $tutorial
|
|
]);
|
|
]);
|
|
}
|
|
}
|
|
- $tutorial = Tutorial::select(['id', 'title', 'icon'])
|
|
|
|
|
|
+ $tutorial = Tutorial::select(['id', 'category_id', 'title', 'icon'])
|
|
->where('show', 1)
|
|
->where('show', 1)
|
|
->get()
|
|
->get()
|
|
->groupBy('category_id');
|
|
->groupBy('category_id');
|