1
0
mirror of https://gitnet.fr/deblan/gist.git synced 2021-08-14 08:30:49 +02:00

Fix issue #6 - Suppression d'un gist en erreur

This commit is contained in:
Simon Vieille 2016-09-20 14:10:54 +02:00
parent 229f532ac0
commit c8d35c23bb

View File

@ -45,14 +45,6 @@ class MyController extends Controller
$gists = $this->getUser()->getGistsPager($page, $options);
if ($request->isMethod('post')) {
$form->submit($request);
if ($form->isValid()) {
$gist = $app['gist']->create(new Gist(), $form->getData(), $this->getUser());
}
}
if ($request->isMethod('post')) {
$deleteForm->submit($request);