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
1 changed files with 0 additions and 8 deletions

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);