public function show(User $user)
    {
        $this->authorize(UsersPolicy::PERMISSION_SHOW);

        $user->load(['roles', 'roles.permissions']);

        $this->setTitle($title = trans('auth::users.titles.user-details'));
        $this->addBreadcrumb($title);

        return $this->view('admin.users.show', compact('user'));
    }
public function show(User $user)
    {
        $this->authorize(UsersPolicy::PERMISSION_SHOW);

        $user->load(['roles', 'roles.permissions']);

        $this->setTitle($title = trans('auth::users.titles.user-details'));
        $this->addBreadcrumb($title);

        return $this->view('admin.users.show', compact('user'));
    }
public function show ( User $ user ) { $ this -> authorize ( UsersPolicy :: PERMISSION_SHOW ) ; $ user -> load ( [ 'roles' , 'roles.permissions' ] ) ; $ this -> setTitle ( $ title = trans ( 'auth::users.titles.user-details' ) ) ; $ this -> addBreadcrumb ( $ title ) ; return $ this -> view ( 'admin.users.show' , compact ( 'user' ) ) ; }
Show the user's details.

@param \Arcanesoft\Contracts\Auth\Models\User $user

@return \Illuminate\View\View
Show the user s details .