public function edit(User $user)
    {
        $roles = Role::all();
        $permissions = Permission::all();
        return view('chuckcms::backend.users.edit', compact('user', 'roles', 'permissions'));
    }
public function edit(User $user)
    {
        $roles = Role::all();
        $permissions = Permission::all();
        return view('chuckcms::backend.users.edit', compact('user', 'roles', 'permissions'));
    }
public function edit ( User $ user ) { $ roles = Role :: all ( ) ; $ permissions = Permission :: all ( ) ; return view ( 'chuckcms::backend.users.edit' , compact ( 'user' , 'roles' , 'permissions' ) ) ; }
Show the edit user page.

@return \Illuminate\View\View
Show the edit user page .