Browse Source

Renommage de la page d'arrivée après inscription en 'start'.

bastien 13 years ago
parent
commit
a08e2d9add

+ 2 - 2
src/Muzich/UserBundle/Controller/UserController.php View File

@@ -40,7 +40,7 @@ class UserController extends Controller
40 40
         $route = 'fos_user_registration_check_email';
41 41
       } else {
42 42
         $this->authenticateUser($user);
43
-        $route = 'register_finish';
43
+        $route = 'start';
44 44
       }
45 45
 
46 46
       $this->setFlash('success', 'Votre compte a bien été créé');
@@ -93,7 +93,7 @@ class UserController extends Controller
93 93
    * 
94 94
    * @Template()
95 95
    */
96
-  public function registerFinishAction()
96
+  public function startAction()
97 97
   {
98 98
     
99 99
     return array();

+ 3 - 3
src/Muzich/UserBundle/Resources/config/routing.yml View File

@@ -12,7 +12,7 @@ register:
12 12
   pattern: /register/do
13 13
   defaults: { _controller: MuzichUserBundle:User:register }
14 14
   
15
-register_finish:
16
-  pattern: /register/finish
17
-  defaults: { _controller: MuzichUserBundle:User:registerFinish }
15
+start:
16
+  pattern: /start
17
+  defaults: { _controller: MuzichUserBundle:User:start }
18 18
   

src/Muzich/UserBundle/Resources/views/User/registerFinish.html.twig → src/Muzich/UserBundle/Resources/views/User/start.html.twig View File