initial commit to emailer system overhaul

This commit is contained in:
Julian Lam
2013-12-30 14:02:43 -05:00
parent 14744a854f
commit e4e57ce31f
8 changed files with 109 additions and 21 deletions

View File

@@ -80,7 +80,12 @@ var DebugRoute = function(app) {
});
app.get('/test', function(req, res) {
user.pushNotifCount(2);
var Emailer = require('../emailer');
Emailer.send('welcome', {
username: 'test',
site_title: 'derp',
confirm_link: 'linkylink'
});
res.send();
});