Allow multiple templateLoaderPaths to be configured for FreeMarker

Closes gh-1767
This commit is contained in:
Andy Wilkinson
2014-10-29 17:42:48 +00:00
parent ef2455938e
commit 8a1e010d0a
4 changed files with 28 additions and 11 deletions

View File

@@ -123,7 +123,7 @@ content into your application; rather pick only the properties that you need.
spring.freemarker.requestContextAttribute=
spring.freemarker.settings.*=
spring.freemarker.suffix=.ftl
spring.freemarker.templateLoaderPath=classpath:/templates/
spring.freemarker.templateLoaderPath=classpath:/templates/ # comma-separated list
spring.freemarker.viewNames= # whitelist of view names that can be resolved
# GROOVY TEMPLATES ({sc-spring-boot-autoconfigure}/groovy/template/GroovyTemplateAutoConfiguration.{sc-ext}[GroovyTemplateAutoConfiguration])