Modify the register route into the redirectToRoute

This commit is contained in:
touffies
2013-10-28 13:00:33 +01:00
parent 54e946ce82
commit fb4fc4bb59

View File

@@ -276,7 +276,7 @@ class CustomerController extends BaseFrontController
// If User is a new customer
if ($form->get('account')->getData() == 0 && !$form->get("email")->getErrors()) {
$this->redirectToRoute("default", array("view" => "register","email" => $form->get("email")->getData()));
$this->redirectToRoute("customer.create.process", array("email" => $form->get("email")->getData()));
} else {
try {