src/Http/Controllers/ManyToManyController.php
public function create()
    {
        $model_class = $this->config->get('entrust.'.str_singular($this->resource));
        $model = new $model_class;
        $relations = $this->relation->lists('name', 'id');

        return view('entrust-gui::'.$this->resource.'.create', compact(
            'model',
            'relations'
        ));
    }
public function create()
    {
        $model_class = $this->config->get('entrust.'.str_singular($this->resource));
        $model = new $model_class;
        $relations = $this->relation->lists('name', 'id');

        return view('entrust-gui::'.$this->resource.'.create', compact(
            'model',
            'relations'
        ));
    }
public function create ( ) { $ model_class = $ this -> config -> get ( 'entrust.' . str_singular ( $ this -> resource ) ) ; $ model = new $ model_class ; $ relations = $ this -> relation -> lists ( 'name' , 'id' ) ; return view ( 'entrust-gui::' . $ this -> resource . '.create' , compact ( 'model' , 'relations' ) ) ; }
Show the form for creating a new resource.
GET /model/create

@return Response
Show the form for creating a new resource . GET / model / create