Skip to content

Commit

Permalink
[fix] change templates folder
Browse files Browse the repository at this point in the history
  • Loading branch information
icfr committed Sep 22, 2016
1 parent 4e04236 commit 97180a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mail.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 97180a6

Please sign in to comment.