lib/routes/associations.js
function deleteAssociationPosition(req, res) {
  if(redirect(req.params.id, '../', '/tags', res)) {
    return;
  }

  var id = req.params.id;
  var rootUrl = req.protocol + '://' + req.get('host');
  var queryPath = req.originalUrl;
  req.chickadee.removeAssociation(req, id, 'position', rootUrl, queryPath,
                                  function(response, status) {
    res.status(status).json(response);
  });
}
function deleteAssociationPosition(req, res) {
  if(redirect(req.params.id, '../', '/tags', res)) {
    return;
  }

  var id = req.params.id;
  var rootUrl = req.protocol + '://' + req.get('host');
  var queryPath = req.originalUrl;
  req.chickadee.removeAssociation(req, id, 'position', rootUrl, queryPath,
                                  function(response, status) {
    res.status(status).json(response);
  });
}
function deleteAssociationPosition ( req , res ) { if ( redirect ( req . params . id , '../' , '/tags' , res ) ) { return ; } var id = req . params . id ; var rootUrl = req . protocol + '://' + req . get ( 'host' ) ; var queryPath = req . originalUrl ; req . chickadee . removeAssociation ( req , id , 'position' , rootUrl , queryPath , function ( response , status ) { res . status ( status ) . json ( response ) ; } ) ; }
Delete the specified association position.
@param {Object} req The HTTP request.
@param {Object} res The HTTP result.
Delete the specified association position .