mirror of
https://github.com/Kovah/LinkAce.git
synced 2025-02-23 18:53:13 +01:00
Order links in overview by creation date
This commit is contained in:
parent
76795da0c2
commit
6d3c040ede
@ -21,6 +21,7 @@ class LinkController extends Controller
|
||||
{
|
||||
return view('models.links.index')
|
||||
->with('links', Link::byUser(auth()->user()->id)
|
||||
->orderBy('created_at', 'DESC')
|
||||
->paginate(config('linkace.default.pagination'))
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user