app/Http/Controllers/PetugasController.php
/**
     * Show the form for editing the specified resource.
     *
     * @param  \App\Petugas  $petuga
     * @return \Illuminate\Http\Response
     */
Show the form for editing the specified resource.
Show the form for editing the specified resource .
public function edit(Petugas $petuga)
    {
        return view('petugas.edit',[
            'petugas' => $petuga,
            'level' => $this->getLevel()]);
    }
public function edit ( Petugas $ petuga ) { return view ( 'petugas.edit' , [ 'petugas' => $ petuga , 'level' => $ this -> getLevel ( ) ] ) ; }
Show the form for editing the specified resource.
Show the form for editing the specified resource .