module.exports = {
    get: function(req, res) {
        var id = req.param('id');

        Comment.findOne({id:id}).exec(function(err, comment){
            if(err)
                return res.json(404, {error:"db error found"});
            if(!comment)
                return res.json(403, {error:"not found"});

            return res.json(200, comment);
        })
    }
};
@@ -361,16 +361,265 @@
       %7D)
+%0A%0A        /*%0A             SELECT * %0A                FROM comments as x %0A                JOIN comments as y %0A                ON y.parentId = x.id AND x.written_to = subid%0A                ORDER %0A                BY x.updatedAt, y.updatedAt; %0A        */
 %0A    %7D%0A%7D

comment order by date and reply