From 4441fc819050405fdd99076d0f878310c49c2313 Mon Sep 17 00:00:00 2001 From: touffies Date: Mon, 14 Oct 2013 12:25:46 +0200 Subject: [PATCH] Change path to the register page --- core/lib/Thelia/Config/Resources/routing/front.xml | 10 +++++----- templates/default/register.html | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/core/lib/Thelia/Config/Resources/routing/front.xml b/core/lib/Thelia/Config/Resources/routing/front.xml index 4966ee6b7..217c713cf 100755 --- a/core/lib/Thelia/Config/Resources/routing/front.xml +++ b/core/lib/Thelia/Config/Resources/routing/front.xml @@ -10,6 +10,11 @@ + + Thelia\Controller\Front\CustomerController::createAction + register + + Thelia\Controller\Front\DefaultController::noAction register @@ -36,11 +41,6 @@ account - - Thelia\Controller\Front\CustomerController::createAction - register - - Thelia\Controller\Front\CustomerController::updateAction diff --git a/templates/default/register.html b/templates/default/register.html index 739522a4b..018a4a8d6 100644 --- a/templates/default/register.html +++ b/templates/default/register.html @@ -15,7 +15,7 @@

{intl l="Create New Account"}

{form name="thelia.customer.creation"} -
+ {form_field form=$form field='success_url'} {* the url the user is redirected to on login success *} {/form_field}