diff --git a/controllers/customers_controller.php b/controllers/customers_controller.php index c3680e58..71e60c33 100755 --- a/controllers/customers_controller.php +++ b/controllers/customers_controller.php @@ -84,8 +84,8 @@ class CustomersController extends AppController { if ($this->Customer->saveAll($this->data)) { $this->Session->setFlash(__('The Customer has been saved', true)); $id = $this->Customer->id; - debug($this->data); - //$this->redirect(array('action'=>'view/'.$id)); + + $this->redirect(array('action'=>'view/'.$id)); } else { $this->Session->setFlash(__('The Customer could not be saved. Please, try again.', true));