Commit 88d03b76 authored by Kamil Szymanski's avatar Kamil Szymanski Committed by Andy Wilkinson

Fix Groovy templates ViewResolver class name and id in How-to docs

Closes gh-2846
parent 71ce0f6c
......@@ -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`'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment