From 12ec295fe07d0e3023e338227f8e082c8ddcb9b3 Mon Sep 17 00:00:00 2001 From: Ezequiel Bergamaschi Date: Sat, 1 Feb 2014 16:22:54 -0300 Subject: [PATCH] rename method --- .../src/main/java/com/wisemapping/rest/LabelController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wise-webapp/src/main/java/com/wisemapping/rest/LabelController.java b/wise-webapp/src/main/java/com/wisemapping/rest/LabelController.java index bbbb00c3..22d7a93e 100644 --- a/wise-webapp/src/main/java/com/wisemapping/rest/LabelController.java +++ b/wise-webapp/src/main/java/com/wisemapping/rest/LabelController.java @@ -96,7 +96,7 @@ public class LabelController extends BaseController { @RequestMapping(method = RequestMethod.DELETE, value = "/labels/{id}") @ResponseStatus(value = HttpStatus.NO_CONTENT) - public void deleteMapById(@PathVariable int id) throws WiseMappingException { + public void deleteLabelById(@PathVariable int id) throws WiseMappingException { final User user = Utils.getUser(); final Label label = labelService.getLabelById(id); if (label == null) {