mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-24 16:15:49 +00:00
Added S to return function in VetController.java
This commit is contained in:
parent
aa7344c4a6
commit
cc0491cb94
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ class VetController {
|
||||||
Vets vets = new Vets();
|
Vets vets = new Vets();
|
||||||
vets.getVetList().addAll(this.vets.findAll());
|
vets.getVetList().addAll(this.vets.findAll());
|
||||||
model.put("vets", vets);
|
model.put("vets", vets);
|
||||||
return "vets/vetList";
|
return "vetss/vetList";
|
||||||
}
|
}
|
||||||
|
|
||||||
@GetMapping({ "/vets" })
|
@GetMapping({ "/vets" })
|
||||||
|
|
Loading…
Reference in a new issue