mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 19:13:49 +00:00
Signature: add and process returnPath in the signature app
This commit is contained in:
@@ -396,7 +396,10 @@ class WorkflowController extends AbstractController
|
||||
}
|
||||
|
||||
if ($signature->getSigner() instanceof User) {
|
||||
return $this->redirectToRoute('chill_main_workflow_signature_add', ['id' => $signature_id]);
|
||||
return $this->redirectToRoute('chill_main_workflow_signature_add', [
|
||||
'id' => $signature_id,
|
||||
'returnPath' => $request->query->get('returnPath', null),
|
||||
]);
|
||||
}
|
||||
|
||||
$metadataForm = $this->createForm(WorkflowSignatureMetadataType::class);
|
||||
@@ -420,7 +423,10 @@ class WorkflowController extends AbstractController
|
||||
$this->entityManager->persist($signature);
|
||||
$this->entityManager->flush();
|
||||
|
||||
return $this->redirectToRoute('chill_main_workflow_signature_add', ['id' => $signature_id]);
|
||||
return $this->redirectToRoute('chill_main_workflow_signature_add', [
|
||||
'id' => $signature_id,
|
||||
'returnPath' => $request->query->get('returnPath', null),
|
||||
]);
|
||||
}
|
||||
|
||||
return $this->render(
|
||||
|
Reference in New Issue
Block a user