function isUped(user, reply) {
    if (!reply.ups) {
      return false;
    }
    return reply.ups.indexOf(user._id) !== -1;
  }
Topic page

@param  {HttpRequest} req
@param  {HttpResponse} res
@param  {Function} next