root 5 years ago
parent
commit
506a66a76d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/Admin/NoticeController.php

+ 1 - 1
app/Http/Controllers/Admin/NoticeController.php

@@ -12,7 +12,7 @@ class NoticeController extends Controller
 {
     public function index (Request $request) {
         return response([
-            'data' => Notice::get()
+            'data' => Notice::orderBy('id', 'DESC')->get()
         ]);
     }