mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 07:15:49 +00:00
Fix find owner bug
This commit is contained in:
parent
cca4d45e00
commit
bb2a8fa73a
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ class OwnerController {
|
|||
}
|
||||
|
||||
@GetMapping(CommonEndPoint.OWNERS)
|
||||
public String processFindForm(@ModelAttribute(CommonAttribute.OWNER) OwnerDTO owner, BindingResult result,
|
||||
public String processFindForm(OwnerDTO owner, BindingResult result,
|
||||
Map<String, Object> model) {
|
||||
|
||||
// allow parameterless GET request for /owners to return all records
|
||||
|
|
Loading…
Reference in a new issue