mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-15 20:25:50 +00:00
fix typo in confirmation message
This commit is contained in:
parent
c0bc917426
commit
c7bc8b1ae6
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ class VisitController {
|
||||||
|
|
||||||
owner.addVisit(petId, visit);
|
owner.addVisit(petId, visit);
|
||||||
this.owners.save(owner);
|
this.owners.save(owner);
|
||||||
redirectAttributes.addFlashAttribute("message", "Your vist has been boked");
|
redirectAttributes.addFlashAttribute("message", "Your visit has been booked");
|
||||||
return "redirect:/owners/{ownerId}";
|
return "redirect:/owners/{ownerId}";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue