implemented emailer for welcome email (though the email confirmation system is horribly broken)

This commit is contained in:
Julian Lam
2013-12-31 18:00:10 -05:00
parent 5a527de287
commit 339ed4e47b
4 changed files with 8 additions and 17 deletions

View File

@@ -81,8 +81,9 @@ var DebugRoute = function(app) {
app.get('/test', function(req, res) {
var Emailer = require('../emailer');
Emailer.send('welcome', {
Emailer.send('welcome', 1, {
username: 'test',
subject: 'this is a subject',
site_title: 'derp',
confirm_link: 'linkylink'
});