public function index()
    {
        return view('address.list', [
            'addresses' => $addresses = Auth::user()->addresses,
            'defaultId' => $addresses->where('default', true)->pluck('id')->first(),
        ]);
    }
public function index()
    {
        return view('address.list', [
            'addresses' => $addresses = Auth::user()->addresses,
            'defaultId' => $addresses->where('default', true)->pluck('id')->first(),
        ]);
    }
public function index ( ) { return view ( 'address.list' , [ 'addresses' => $ addresses = Auth :: user ( ) -> addresses , 'defaultId' => $ addresses -> where ( 'default' , true ) -> pluck ( 'id' ) -> first ( ) , ] ) ; }
Signed user's address book.

@return void
Signed user s address book .