src/Http/Controllers/UsersController.php
public function create()
    {
        $user_class = $this->config->get('auth.model');
        $user = new $user_class;
        $roles = $this->role->lists('name', 'id');

        return view(
            'entrust-gui::users.create',
            compact(
                'user',
                'roles'
            )
        );
    }
public function create()
    {
        $user_class = $this->config->get('auth.model');
        $user = new $user_class;
        $roles = $this->role->lists('name', 'id');

        return view(
            'entrust-gui::users.create',
            compact(
                'user',
                'roles'
            )
        );
    }
public function create ( ) { $ user_class = $ this -> config -> get ( 'auth.model' ) ; $ user = new $ user_class ; $ roles = $ this -> role -> lists ( 'name' , 'id' ) ; return view ( 'entrust-gui::users.create' , compact ( 'user' , 'roles' ) ) ; }
Show the form for creating a new resource.
GET /roles/create

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