Vulcan/packages/example-customization/lib/server/templates.js

10 lines
255 B
JavaScript
Raw Normal View History

/*
Register email templates.
*/
2017-03-23 16:27:59 +09:00
import NovaEmail from 'meteor/vulcan:email';
NovaEmail.addTemplates({
newPost: Assets.getText("lib/server/emails/customNewPost.handlebars"),
customEmail: Assets.getText("lib/server/emails/customEmail.handlebars")
});