app/Http/Controllers/UserController.php
/**
  * Show the form for creating a new resource.
  *
  * @return \Illuminate\Http\Response
  */
Show the form for creating a new resource.
@return \Illuminate\Http\Response
Show the form for creating a new resource . @return \ Illuminate \ Http \ Response
public function create()
  {
    $roles=Role::where('slug','<>','cliente')->pluck('name','id');
    return view($this->path.'create',compact('roles'));
  }
public function create ( ) { $ roles = Role :: where ( 'slug' , '<>' , 'cliente' ) -> pluck ( 'name' , 'id' ) ; return view ( $ this -> path . 'create' , compact ( 'roles' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .