mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2026-01-13 13:21:11 +00:00
Fixed issue with Atom export
This commit is contained in:
parent
97e1890867
commit
47ddd6f934
2 changed files with 3 additions and 3 deletions
|
|
@ -73,7 +73,7 @@ public class VisitController {
|
|||
*/
|
||||
@RequestMapping(value="/owners/*/pets/{petId}/visits", method=RequestMethod.GET)
|
||||
public ModelAndView showVisits(@PathVariable int petId) {
|
||||
ModelAndView mav = new ModelAndView("visits");
|
||||
ModelAndView mav = new ModelAndView("visitList");
|
||||
mav.addObject("visits", this.clinicService.findPetById(petId).getVisits());
|
||||
return mav;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue