WIP: welcom + error - einfacherer Weg zur eigenen Fehlerseite
[maven-thymeleaf-skin] / src / main / java / de / juplo / thymeproxy / Application.java
index ff5174a..62ed171 100644 (file)
@@ -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());
   }