Commit 0ed4afd6 authored by Phillip Webb's avatar Phillip Webb

Fix a couple of velocity documentation issues

Fixes gh-961
parent 96c92fd3
......@@ -126,7 +126,7 @@ content into your application; rather pick only the properties that you need.
spring.velocity.properties.*=
spring.velocity.requestContextAttribute=
spring.velocity.resourceLoaderPath=classpath:/templates/
spring.velocity.suffix=.ftl
spring.velocity.suffix=.vm
spring.velocity.templateEncoding=UTF-8
spring.velocity.viewNames= # whitelist of view names that can be resolved
......
......@@ -820,7 +820,7 @@ added.
* If you use Velocity you will also have a `VelocityViewResolver` with id ``velocityViewResolver''.
It looks for resources in a loader path (externalized to `spring.velocity.resourceLoaderPath`,
default ``classpath:/templates/'') by surrounding the view name with a prefix and suffix
(externalized to `spring.velocity.prefix' and `spring.velocity.suffix`, with empty and ``.vm''
(externalized to `spring.velocity.prefix` and `spring.velocity.suffix`, with empty and ``.vm''
defaults respectively). It can be overridden by providing a bean of the same name.
Check out {sc-spring-boot-autoconfigure}/web/WebMvcAutoConfiguration.{sc-ext}[`WebMvcAutoConfiguration`],
......
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