     return res.err(401, 'Unauthorized')
 
   Article.destroy req.article._id, (err) ->
-    debug err if err
     return next err if err
     res.send present req.article
 


  data = _.extend(req.article, req.body)
  Article.save data, req.user?.access_token, (err, article) ->
    debug err if err
    return next err if err
    res.send present article


      'Pass published=true to only view published articles.')

  Article.where req.query, (err, results) ->
    return next err if err
    res.send presentCollection results

