app/Http/Controllers/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()
    {
        return view('user.index', [
            'tittle' => 'User',
            'active' => 'supplier',
            'users' => User::all(),
        ]);
    }
public function index ( ) { return view ( 'user.index' , [ 'tittle' => 'User' , 'active' => 'supplier' , 'users' => User :: all ( ) , ] ) ; }
Display a listing of the resource.
Display a listing of the resource .