aboutsummaryrefslogtreecommitdiff
path: root/juick-spring-www/src/main/java/com/juick
diff options
context:
space:
mode:
Diffstat (limited to 'juick-spring-www/src/main/java/com/juick')
-rw-r--r--juick-spring-www/src/main/java/com/juick/www/controllers/ErrorController.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/juick-spring-www/src/main/java/com/juick/www/controllers/ErrorController.java b/juick-spring-www/src/main/java/com/juick/www/controllers/ErrorController.java
index a3e697b4..57a34076 100644
--- a/juick-spring-www/src/main/java/com/juick/www/controllers/ErrorController.java
+++ b/juick-spring-www/src/main/java/com/juick/www/controllers/ErrorController.java
@@ -21,19 +21,19 @@ public class ErrorController {
@ExceptionHandler(HttpBadRequestException.class)
@ResponseStatus(value = HttpStatus.BAD_REQUEST)
public String badRequest() {
- return "layout/error";
+ return "views/error";
}
@ExceptionHandler(HttpForbiddenException.class)
@ResponseStatus(value = HttpStatus.FORBIDDEN)
public String forbidden() {
- return "layout/error";
+ return "views/error";
}
@ExceptionHandler(HttpNotFoundException.class)
@ResponseStatus(value = HttpStatus.NOT_FOUND)
public String notFound() {
- return "layout/error";
+ return "views/error";
}
@ExceptionHandler(Throwable.class)
@@ -44,6 +44,6 @@ public class ErrorController {
String errorMessage = (throwable != null ? throwable.getMessage() : "Unknown error");
model.addAttribute("errorMessage", errorMessage);
- return "layout/error";
+ return "views/error";
}
}