|
|
@@ -169,6 +169,8 @@ public class ProceduresController {
|
|
|
@PostMapping("/procedure/{id}")
|
|
|
public String updateInstanciaTasca(Model model, Authentication auth, HttpSession session, @PathVariable BigInteger id, @RequestParam Map<String,String> params,
|
|
|
@RequestParam(required = false) List<MultipartFile> evidencias) throws IllegalStateException, IOException, InterruptedException {
|
|
|
+ model.addAttribute("location", "procedures");
|
|
|
+
|
|
|
HashMap<String, Object> response =
|
|
|
pc.updateInstanciaTasca(id, params, evidencias, ((Usuari) auth.getPrincipal()).getUsuari());
|
|
|
|
|
|
@@ -177,7 +179,7 @@ public class ProceduresController {
|
|
|
}
|
|
|
|
|
|
model.addAllAttributes(response);
|
|
|
- return "procedures";
|
|
|
+ return "procedure";
|
|
|
}
|
|
|
|
|
|
|