public String editGroup(Model model, @PathVariable int groupId) throws Exception {
model.addAttribute("groupName",
pathOverrideService.getGroupNameFromId(groupId));
model.addAttribute("groupId", groupId);
ObjectMapper mapper = new ObjectMapper();
String json = mapper.writeValueAsString(pluginManager.getMethodsNotInGroup(groupId));
model.addAttribute("methodsNotInGroup",
json);
return "editGroup";
}