mirror of
https://github.com/st-tu-dresden-praktikum/swt23w23
synced 2024-07-19 21:04:36 +02:00
Remove unused attribute in staff listing
This commit is contained in:
parent
b4dfa72852
commit
3ebedd4ad8
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue