import { registerFragment } from 'meteor/vulcan:lib';

// ------------------------------ Vote ------------------------------ //

// note: fragment used by default on the UsersProfile fragment
registerFragment(`
  fragment UsersAdmin on User {
    _id
    username
    createdAt
    isAdmin
    displayName
    email
    emailHash
    slug
    groups
    services
    avatarUrl
  }
`);

import { registerFragment } from 'meteor/vulcan:lib';

// ------------------------------ Vote ------------------------------ //

// note: fragment used by default on the UsersProfile fragment
registerFragment(`
  fragment UsersAdmin on User {
    _id
    username
    createdAt
    isAdmin
    displayName
    email
    emailHash
    slug
    groups
    services
    avatarUrl
    pageUrl
    pagePath
  }
`);

Add pageUrl and pagePath to user fragment;
Add pageUrl and pagePath to user fragment;
