Skip to content
Snippets Groups Projects
Commit c8e36029 authored by michaelisvy's avatar michaelisvy
Browse files

fixed bug: vets.html did not display properly

parent 91ed5484
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ public class VetController {
this.clinicService = clinicService;
}
@RequestMapping(value="/vets.xml")
@RequestMapping(value={"/vets.xml","/vets.html"})
public String showVetList(Map<String, Object> model) {
// Here we are returning an object of type 'Vets' rather than a collection of Vet objects
// so it is simpler for Object-Xml mapping
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment