fixed bug: vets.html did not display properly

This commit is contained in:
michaelisvy 2015-05-13 01:07:46 +09:00
parent 91ed548481
commit c8e360298b

View file

@ -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