src/Controllers/UserController.php
public function manageRoles(User $user)
    {
        $this->authorize('roles', $user);

        $roles = Role::all();

        return view('laralum_users::roles', ['user' => $user, 'roles' => $roles]);
    }
public function manageRoles(User $user)
    {
        $this->authorize('roles', $user);

        $roles = Role::all();

        return view('laralum_users::roles', ['user' => $user, 'roles' => $roles]);
    }
public function manageRoles ( User $ user ) { $ this -> authorize ( 'roles' , $ user ) ; $ roles = Role :: all ( ) ; return view ( 'laralum_users::roles' , [ 'user' => $ user , 'roles' => $ roles ] ) ; }
Manage roles from users.

@param \Laralum\Users\Models\User $user

@return \Illuminate\Http\Response
Manage roles from users .