update: literacy user controller add order by for new user
This commit is contained in:
parent
682e1f87c5
commit
6e8728ebca
|
|
@ -20,7 +20,7 @@ public function __construct()
|
|||
// 📋 1. Menampilkan daftar pengguna
|
||||
public function users()
|
||||
{
|
||||
$users = User::all();
|
||||
$users = User::orderBy('created_at', 'desc')->get();;
|
||||
$materials = LiteracyMaterial::all();
|
||||
$questions = LiteracyQuestion::all();
|
||||
return view('literacy.teacher.users.index', [
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user