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(Customer $customer)
    {
        $action = route('customer.update', $customer->id);
        $method = 'PATCH';
        return $this->form('Ubah Customer', $action, $method, $customer);
    }
public function edit ( Customer $ customer ) { $ action = route ( 'customer.update' , $ customer -> id ) ; $ method = 'PATCH' ; return $ this -> form ( 'Ubah Customer' , $ action , $ method , $ customer ) ; }
Show the form for editing the specified resource.
Show the form for editing the specified resource .