mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 23:23:51 +00:00
fix translation, disable throw exception
This commit is contained in:
@@ -55,9 +55,10 @@ class AccompanyingCourseCommentController extends AbstractController
|
||||
}
|
||||
}
|
||||
|
||||
if (null === $editForm) {
|
||||
throw new NotFoundHttpException('Unable to find an edit form.');
|
||||
}
|
||||
dump($editForm);
|
||||
//if (null === $editForm) {
|
||||
// throw new NotFoundHttpException('Unable to find an edit form.');
|
||||
//}
|
||||
|
||||
if ($request->getMethod() === Request::METHOD_POST) {
|
||||
$currentForm = $editForm->handleRequest($request);
|
||||
|
Reference in New Issue
Block a user