fix: use correct controller method for redirecting
This commit is contained in:
@@ -55,7 +55,7 @@ class CreateController extends AbstractController
|
|||||||
'job_profile' => $assignment->getJobProfile()->getName(),
|
'job_profile' => $assignment->getJobProfile()->getName(),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
return $this->redirectToRoute($returnUrl);
|
return $this->redirect($returnUrl);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->render('administrative/assignment/create.html.twig', [
|
return $this->render('administrative/assignment/create.html.twig', [
|
||||||
|
|||||||
Reference in New Issue
Block a user