docs: function assumePublishedUnlessEditing(fn) {
    return function (uri, req, res, hrStart) {
      // ignore version if they are editing; default to 'published'
      if (!_.get(res, 'req.query.edit')) {
        uri = clayUtils.replaceVersion(uri, uri.split('@')[1] || 'published');
      }
  
      return fn(uri, req, res, hrStart);
    };
  }