app/Http/Controllers/Client/ClientController.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()  
    {
        $user = User::where('id', Auth::user()->id)->first();
        return view('client.index',['user' => $user]);
    }
public function index ( ) { $ user = User :: where ( 'id' , Auth :: user ( ) -> id ) -> first ( ) ; return view ( 'client.index' , [ 'user' => $ user ] ) ; }
Display a listing of the resource.
Display a listing of the resource .
//default