Fix a couple of velocity documentation issues
Fixes gh-961
This commit is contained in:
parent
96c92fd3b8
commit
0ed4afd647
|
@ -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`],
|
||||
|
|
Loading…
Reference in New Issue