From: Kai Moritz Date: Sat, 18 Jun 2016 20:51:01 +0000 (+0200) Subject: WIP: welcom + error - einfacherer Weg zur eigenen Fehlerseite X-Git-Tag: alt~16 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=b9c183cfe8a2ecd6e5db6bd09c015a14152afe14;p=maven-thymeleaf-skin WIP: welcom + error - einfacherer Weg zur eigenen Fehlerseite --- diff --git a/src/main/java/de/juplo/thymeproxy/Application.java b/src/main/java/de/juplo/thymeproxy/Application.java index ff5174a..62ed171 100644 --- a/src/main/java/de/juplo/thymeproxy/Application.java +++ b/src/main/java/de/juplo/thymeproxy/Application.java @@ -114,7 +114,7 @@ public class Application extends WebMvcConfigurerAdapter @Bean public View error(ThymeleafViewResolver resolver) throws Exception { - return resolver.resolveViewName("templates/error", Locale.getDefault()); + return resolver.resolveViewName("templates/500", Locale.getDefault()); }