Skip to content
This repository has been archived by the owner on Aug 17, 2021. It is now read-only.

Commit

Permalink
排序显示
Browse files Browse the repository at this point in the history
  • Loading branch information
hui-ho committed May 2, 2019
1 parent 28c825d commit 4bcb96d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/HomeController.php
Expand Up @@ -10,7 +10,7 @@ class HomeController extends Controller
public function index()
{
return view('index', [
'categories' => Category::with('children', 'sites')->get(),
'categories' => Category::with('children', 'sites')->orderBy('order')->get(),
]);
}

Expand Down
Binary file added public/uploads/.DS_Store
Binary file not shown.

0 comments on commit 4bcb96d

Please sign in to comment.