From a0454577cbda2748f97ae6f5e7035139470bfb0c Mon Sep 17 00:00:00 2001 From: Tokumeikoi Date: Tue, 18 Feb 2020 22:46:44 +0800 Subject: [PATCH] update tutorial --- app/Http/Controllers/Admin/TutorialController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Admin/TutorialController.php b/app/Http/Controllers/Admin/TutorialController.php index bbfaa843..2c9bd0f7 100644 --- a/app/Http/Controllers/Admin/TutorialController.php +++ b/app/Http/Controllers/Admin/TutorialController.php @@ -12,7 +12,7 @@ class TutorialController extends Controller public function fetch(Request $request) { return response([ - 'data' => Tutorial::get()->groupBy('category') + 'data' => Tutorial::get() ]); }