app/Http/Controllers/Admin/UserController.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(Request $request) 
    {
        $data = User::all();
        return view('users.index',compact('data'))
            ->with('i');
    }
public function index ( Request $ request ) { $ data = User :: all ( ) ; return view ( 'users.index' , compact ( 'data' ) ) -> with ( 'i' ) ; }
Display a listing of the resource.
Display a listing of the resource .
//