From 823f7a7743704cb80dd4e0ce067083a7e12ac0a8 Mon Sep 17 00:00:00 2001 From: Anton Romanov Date: Wed, 19 Dec 2018 01:29:54 +0400 Subject: [PATCH] try to fix template resolvers, step 4 --- .../java/ru/ulstu/configuration/MailTemplateConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ru/ulstu/configuration/MailTemplateConfiguration.java b/src/main/java/ru/ulstu/configuration/MailTemplateConfiguration.java index 3dfac36..addf7ac 100644 --- a/src/main/java/ru/ulstu/configuration/MailTemplateConfiguration.java +++ b/src/main/java/ru/ulstu/configuration/MailTemplateConfiguration.java @@ -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);