From 3ebedd4ad867247da5b9af20064066c261e868e5 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Thu, 23 Nov 2023 16:38:17 +0100 Subject: [PATCH] Remove unused attribute in staff listing --- src/main/java/catering/staff/StaffController.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/catering/staff/StaffController.java b/src/main/java/catering/staff/StaffController.java index 638dd87..917b4c7 100644 --- a/src/main/java/catering/staff/StaffController.java +++ b/src/main/java/catering/staff/StaffController.java @@ -21,7 +21,6 @@ public class StaffController { @GetMapping("/staff") @PreAuthorize("hasRole('ADMIN')") public String getStaff(Model model) { - model.addAttribute("title", "Personalverwaltung"); model.addAttribute("staff", staffManagement.findAll()); return "staff"; }