src/Controllers/ScaffoldController.php
public function edit($page, $id)
    {
        $this->authorize('update', $eloquent = app('scaffold.model'));

        return view(app('scaffold.template')->edit('index'), [
            'item' => $eloquent,
        ]);
    }
public function edit($page, $id)
    {
        $this->authorize('update', $eloquent = app('scaffold.model'));

        return view(app('scaffold.template')->edit('index'), [
            'item' => $eloquent,
        ]);
    }
public function edit ( $ page , $ id ) { $ this -> authorize ( 'update' , $ eloquent = app ( 'scaffold.model' ) ) ; return view ( app ( 'scaffold.template' ) -> edit ( 'index' ) , [ 'item' => $ eloquent , ] ) ; }
Edit resource.

@param $page
@param $id

@return \Illuminate\View\View
Edit resource .