fix emailer

This commit is contained in:
Barış Soner Uşaklı
2015-09-15 12:14:01 -04:00
parent 3a6871fd65
commit e9692a3e1f

View File

@@ -48,7 +48,7 @@ var fs = require('fs'),
function renderAndTranslate(tpl, params, callback) {
async.waterfall([
function (next) {
app.render(template, params, next);
app.render(tpl, params, next);
},
function (html, next) {
translator.translate(html, lang, function(translated) {