/** * Display a listing of the resource. * * @return Response */ public function index() { $cuentas = Cuenta::latest()->get(); return view('cuenta.index', compact('cuentas')); }