lib/render.js
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);
  };
}
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);
  };
}
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 ) ; } ; }
Assume they're talking about published content unless ?edit

@param {function} fn
@returns {function}
Assume they re talking about published content unless ?edit