mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 09:12:14 +00:00
Fix method name in the Contact sample code
This commit is contained in:
parent
68ffa0fece
commit
fe080cadbe
@ -69,7 +69,7 @@ public class AddDeleteContactController {
|
||||
}
|
||||
|
||||
@RequestMapping(value = "/secure/del.htm", method = RequestMethod.GET)
|
||||
public ModelAndView handleRequest(@RequestParam("contactId") int contactId) {
|
||||
public ModelAndView delContact(@RequestParam("contactId") int contactId) {
|
||||
Contact contact = contactManager.getById(Long.valueOf(contactId));
|
||||
contactManager.delete(contact);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user