Merge branch 'develop' into feature/WISE-16-remove_user

This commit is contained in:
Paulo Gustavo Veiga
2014-01-12 23:42:47 -03:00
6 changed files with 17 additions and 45 deletions

View File

@@ -115,7 +115,7 @@ public class AdminController extends BaseController {
userService.changePassword(user);
}
@RequestMapping(method = RequestMethod.DELETE, value = "admin/users/{id}", consumes = {"text/plain"})
@RequestMapping(method = RequestMethod.DELETE, value = "admin/users/{id}")
@ResponseStatus(value = HttpStatus.NO_CONTENT)
public void deleteUserByEmail(@PathVariable long id) throws WiseMappingException {
final User user = userService.getUserBy(id);