diff --git a/scm-plugin-backend/src/main/java/sonia/scm/plugin/rest/FreemarkerTemplateProvider.java b/scm-plugin-backend/src/main/java/sonia/scm/plugin/rest/FreemarkerTemplateProvider.java index c5d1eb0a15..9c8e74b908 100644 --- a/scm-plugin-backend/src/main/java/sonia/scm/plugin/rest/FreemarkerTemplateProvider.java +++ b/scm-plugin-backend/src/main/java/sonia/scm/plugin/rest/FreemarkerTemplateProvider.java @@ -66,7 +66,7 @@ public class FreemarkerTemplateProvider implements ViewProcessor { /** Field description */ - public static final String DIRECTORY_TEMPLATES = "/"; + public static final String DIRECTORY_TEMPLATES = "/WEB-INF/ftl"; /** Field description */ private static final String EXTENSION = ".html"; diff --git a/scm-plugin-backend/src/main/webapp/detail.html b/scm-plugin-backend/src/main/webapp/WEB-INF/ftl/detail.html similarity index 100% rename from scm-plugin-backend/src/main/webapp/detail.html rename to scm-plugin-backend/src/main/webapp/WEB-INF/ftl/detail.html diff --git a/scm-plugin-backend/src/main/webapp/index.html b/scm-plugin-backend/src/main/webapp/WEB-INF/ftl/index.html similarity index 100% rename from scm-plugin-backend/src/main/webapp/index.html rename to scm-plugin-backend/src/main/webapp/WEB-INF/ftl/index.html diff --git a/scm-plugin-backend/src/main/webapp/template/footer.html b/scm-plugin-backend/src/main/webapp/WEB-INF/ftl/template/footer.html similarity index 100% rename from scm-plugin-backend/src/main/webapp/template/footer.html rename to scm-plugin-backend/src/main/webapp/WEB-INF/ftl/template/footer.html diff --git a/scm-plugin-backend/src/main/webapp/template/header.html b/scm-plugin-backend/src/main/webapp/WEB-INF/ftl/template/header.html similarity index 100% rename from scm-plugin-backend/src/main/webapp/template/header.html rename to scm-plugin-backend/src/main/webapp/WEB-INF/ftl/template/header.html