Skip to content

Commit

Permalink
add exception to uncomment
Browse files Browse the repository at this point in the history
  • Loading branch information
trsteel88 committed Apr 28, 2016
1 parent dd9b0f7 commit 69b1778
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/AppBundle/Controller/DefaultController.php
Expand Up @@ -68,6 +68,8 @@ public function runAction($id)
$category->removeProduct($product);
}

//throw new \Exception('Uncomment me to see the delete CMD');

return $this->redirectToRoute('test_check', array(
'id' => $product->getId(),
));
Expand Down

0 comments on commit 69b1778

Please sign in to comment.