Remove unnecessary model attribute

This commit is contained in:
Dave Syer 2023-02-21 11:46:22 +00:00
parent ca055dbbe1
commit b298af380d

View file

@ -80,8 +80,7 @@ class OwnerController {
}
@GetMapping("/owners/find")
public String initFindForm(Map<String, Object> model) {
model.put("owner", new Owner());
public String initFindForm() {
return "owners/findOwners";
}