interim commit, still nothing done

This commit is contained in:
Julian Lam
2013-10-25 16:01:31 -04:00
parent 3480a1d60e
commit aecbe6d316
3 changed files with 31 additions and 3 deletions

14
src/routes/debug.js Normal file
View File

@@ -0,0 +1,14 @@
var DebugRoute = function(app) {
var Notifications = require('../notifications');
app.namespace('/debug', function() {
app.get('/prune', function(req, res) {
Notifications.prune(new Date(), function() {
console.log('done');
});
res.send();
});
});
};
module.exports = DebugRoute;