rename method

This commit is contained in:
Ezequiel Bergamaschi 2014-02-01 16:22:54 -03:00 committed by Ezequiel Bergamaschi
parent 8936ef5008
commit 12ec295fe0

View File

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