This commit is contained in:
Server D3 Linksehat
2025-08-19 09:39:37 +07:00
parent 60f5f38ffe
commit 9634b12f11
11 changed files with 162 additions and 15 deletions

View File

@@ -16,7 +16,8 @@ class NavigationController extends Controller
public function index(Request $request)
{
// Ambil semua navigasi dari tabel dan ubah menjadi array
$navigations = Navigations::all()->toArray();
// $navigations = Navigations::all()->toArray();
$navigations = Navigations::orderBy('urutan', 'asc')->get()->toArray();
$navigationMaster = [];
if ($navigations) {