app/Http/Controllers/BarangController.php
/**
     * Show the form for editing the specified resource.
     *
     * @param  \App\Barang  $barang
     * @return \Illuminate\Http\Response
     */
Show the form for editing the specified resource.
Show the form for editing the specified resource .
public function edit(Barang $barang)
    {
        return view('barang.edit',[
            'barang' => $barang
        ]);
    }
public function edit ( Barang $ barang ) { return view ( 'barang.edit' , [ 'barang' => $ barang ] ) ; }
Show the form for editing the specified resource.
Show the form for editing the specified resource .
//