update basename for messagesource

This commit is contained in:
Loredana 2020-10-20 11:16:17 +03:00
parent d6d7661771
commit 61f2654a9d
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ public class EmailConfiguration {
@Bean
public ResourceBundleMessageSource emailMessageSource() {
final ResourceBundleMessageSource messageSource = new ResourceBundleMessageSource();
messageSource.setBasename("/mailMessages");
messageSource.setBasename("mailMessages");
return messageSource;
}