diff --git a/src/Gist/Controller/MyController.php b/src/Gist/Controller/MyController.php index 248c03e..f83721f 100644 --- a/src/Gist/Controller/MyController.php +++ b/src/Gist/Controller/MyController.php @@ -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);