try to fix template resolvers, step 4

This commit is contained in:
Anton Romanov 2018-12-19 01:29:54 +04:00
parent 5a9ccbcfc1
commit 823f7a7743

View File

@ -35,7 +35,7 @@ public class MailTemplateConfiguration {
public ClassLoaderTemplateResolver mvcTemplateResolver() {
ClassLoaderTemplateResolver emailTemplateResolver = new ClassLoaderTemplateResolver();
emailTemplateResolver.setPrefix("templates/");
emailTemplateResolver.setPrefix("templates");
emailTemplateResolver.setTemplateMode("HTML5");
emailTemplateResolver.setSuffix(".html");
emailTemplateResolver.setOrder(2);