Change default file extension for Mustache templates

This commit changes the default file extension for Mustache templates,
from `.html` to `.mustache`, which is the file extension used in the
official reference documentation and by most IDE plugins.

Fixes gh-8997
This commit is contained in:
Brian Clozel
2017-04-28 14:12:26 +02:00
parent 4d5dcca553
commit f2c63706da
5 changed files with 2 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ public class MustacheProperties extends AbstractTemplateViewResolverProperties {
public static final String DEFAULT_PREFIX = "classpath:/templates/";
public static final String DEFAULT_SUFFIX = ".html";
public static final String DEFAULT_SUFFIX = ".mustache";
/**
* Prefix to apply to template names.