app/Http/Controllers/CuentaController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $cuentas= Cuenta::all();
        return view('cuentas', ['cuentas'=>$cuentas]);
    }
public function index ( ) { $ cuentas = Cuenta :: all ( ) ; return view ( 'cuentas' , [ 'cuentas' => $ cuentas ] ) ; }
Display a listing of the resource.
Display a listing of the resource .