From 97180a6ddddeb6222a92ce678642df4ab7d8515e Mon Sep 17 00:00:00 2001 From: icfr Date: Thu, 22 Sep 2016 06:24:12 +0200 Subject: [PATCH] [fix] change templates folder --- lib/Mail.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Mail.js b/lib/Mail.js index 406838a..bf7d1e1 100644 --- a/lib/Mail.js +++ b/lib/Mail.js @@ -23,7 +23,7 @@ var Mail = function Mail(email, subject, data, template, options) { }; Mail.prototype.send = function sendMail(callback) { - var mailTemplate = 'emails/templates/' + this.template + '.ect'; + var mailTemplate = 'templates/' + this.template + '.ect'; var html = renderer.render(mailTemplate, this.content); var mailOptions = { from: config.mail.from,