mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-15 12:15:50 +00:00
Remove unnecessary model attribute
This commit is contained in:
parent
ca055dbbe1
commit
b298af380d
1 changed files with 1 additions and 2 deletions
|
@ -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";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue