/** * Display a listing of the resource. * * @return Response */ public function index() { $akuns = Akun::with('tipeakun')->get()->toArray(); //dd($akuns); return view('akun.index', compact('akuns')); }