app/Http/Controllers/KabupatenController.php
/**
     * Show the form for editing the specified resource.
     *
     * @param  \App\Kabupaten  $kabupaten
     * @return \Illuminate\Http\Response
     */
Show the form for editing the specified resource.
Show the form for editing the specified resource .
public function edit($uuid)
    {
        $data = Kabupaten::whereUuid($uuid)->firstOrFail();
        return view('backend.kabupaten.edit', compact('data'));
    }
public function edit ( $ uuid ) { $ data = Kabupaten :: whereUuid ( $ uuid ) -> firstOrFail ( ) ; return view ( 'backend.kabupaten.edit' , compact ( 'data' ) ) ; }
Show the form for editing the specified resource.
Show the form for editing the specified resource .
// dd($data);