app/Http/Controllers/CustomerController.php
/**
     * Show the form for editing the specified resource.
     *
     * @param  \App\Models\Customer  $customer
     * @return \Illuminate\Http\Response
     */
Show the form for editing the specified resource.
Show the form for editing the specified resource .
public function edit($id)
    {
        $customer = Customer::find($id);
        return view('customers.edit',['customer' => $customer]);
    }
public function edit ( $ id ) { $ customer = Customer :: find ( $ id ) ; return view ( 'customers.edit' , [ 'customer' => $ customer ] ) ; }
Show the form for editing the specified resource.
Show the form for editing the specified resource .