app/Http/Controllers/AdminUsersController.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::all()->pluck('name','id');
        return view('admin.user.create', compact('roles'));
    }
public function create ( ) { $ roles = Role :: all ( ) -> pluck ( 'name' , 'id' ) ; return view ( 'admin.user.create' , compact ( 'roles' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .
//