src/Http/Controllers/ManyToManyController.php
public function edit($id)
    {
        $model = $this->gateway->find($id);
        $relations = $this->relation->lists('name', 'id');

        return view('entrust-gui::'.$this->resource.'.edit', compact(
            'model',
            'relations'
        ));
    }
public function edit($id)
    {
        $model = $this->gateway->find($id);
        $relations = $this->relation->lists('name', 'id');

        return view('entrust-gui::'.$this->resource.'.edit', compact(
            'model',
            'relations'
        ));
    }
public function edit ( $ id ) { $ model = $ this -> gateway -> find ( $ id ) ; $ relations = $ this -> relation -> lists ( 'name' , 'id' ) ; return view ( 'entrust-gui::' . $ this -> resource . '.edit' , compact ( 'model' , 'relations' ) ) ; }
Show the form for editing the specified resource.
GET /model/{id}/edit

@param int $id

@return Response
Show the form for editing the specified resource . GET / model / { id } / edit