WIP: welcom + error - einfacherer Weg zur eigenen Fehlerseite
authorKai Moritz <kai@juplo.de>
Sat, 18 Jun 2016 20:51:01 +0000 (22:51 +0200)
committerKai Moritz <kai@juplo.de>
Sat, 18 Jun 2016 20:51:01 +0000 (22:51 +0200)
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());
   }