Completed
Pull Request — master (#15)
by Alexis
02:31
created
Controller/CRUDController.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,8 +66,7 @@
 block discarded – undo
66 66
         if ($this->getRestMethod() === 'DELETE') {
67 67
             if ($object instanceof Item) {
68 68
                 $url = $this->admin->generateUrl('list', $params['list']);
69
-            }
70
-            else {
69
+            } else {
71 70
                 $router = $this->get('router');
72 71
                 $url= $router->generate('admin_alpixel_menu_menu_list');
73 72
             }
Please login to merge, or discard this patch.