From 88d03b76e93a66ec49999b72a1b80ccea7e774cd Mon Sep 17 00:00:00 2001 From: Kamil Szymanski Date: Sun, 19 Apr 2015 13:47:53 +0200 Subject: [PATCH] Fix Groovy templates ViewResolver class name and id in How-to docs Closes gh-2846 --- spring-boot-docs/src/main/asciidoc/howto.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-docs/src/main/asciidoc/howto.adoc b/spring-boot-docs/src/main/asciidoc/howto.adoc index 9d621a09e3e..dff7220ffe2 100644 --- a/spring-boot-docs/src/main/asciidoc/howto.adoc +++ b/spring-boot-docs/src/main/asciidoc/howto.adoc @@ -1122,7 +1122,7 @@ added. and `spring.freemarker.suffix`, with empty and '`.ftl`' defaults respectively). It can be overridden by providing a bean of the same name. * If you use Groovy templates (actually if groovy-templates is on your classpath) you will - also have a `Groovy TemplateViewResolver` with id '`groovyTemplateViewResolver`'. It + also have a `GroovyMarkupViewResolver` with id '`groovyMarkupViewResolver`'. It looks for resources in a loader path by surrounding the view name with a prefix and suffix (externalized to `spring.groovy.template.prefix` and `spring.groovy.template.suffix`, defaults '`classpath:/templates/`' and '`.tpl`'