exports.get = function(req, res) { Album.find({}, function(err, albums) { res.send(JSON.stringify(albums)); }); };