]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Controller/AbstractController.php
Fix subscribed key name
[airbundle] / Controller / AbstractController.php
index edb663908393d9f90f4ff2e26fc382b6b3a5eff4..73e84f63993fa7e27567493da5ebe4d1bab067fd 100644 (file)
@@ -295,7 +295,7 @@ abstract class AbstractController extends BaseAbstractController implements Serv
                                //Create ApplicationType form
                                $application = $this->factory->create('Rapsys\AirBundle\Form\ApplicationType', null, [
                                        //Set the action
-                                       'action' => $this->generateUrl('rapsys_air_application_add'),
+                                       'action' => $this->generateUrl('rapsysair_application_add'),
                                        //Set the form attribute
                                        'attr' => [ 'class' => 'col' ],
                                        //Set dance choices
@@ -332,7 +332,7 @@ abstract class AbstractController extends BaseAbstractController implements Serv
                        //Create LoginType form
                        $login = $this->factory->create('Rapsys\UserBundle\Form\LoginType', null, [
                                //Set the action
-                               'action' => $this->generateUrl('rapsys_user_login'),
+                               'action' => $this->generateUrl('rapsysuser_login'),
                                //Disable password repeated
                                'password_repeated' => false,
                                //Set the form attribute
@@ -366,7 +366,7 @@ abstract class AbstractController extends BaseAbstractController implements Serv
                        $register = $this->factory->create('Rapsys\AirBundle\Form\RegisterType', null, $field+[
                                //Set the action
                                'action' => $this->generateUrl(
-                                       'rapsys_user_register',
+                                       'rapsysuser_register',
                                        [
                                                'mail' => $smail = $this->slugger->short(''),
                                                'field' => $sfield = $this->slugger->serialize($field),
@@ -452,7 +452,7 @@ abstract class AbstractController extends BaseAbstractController implements Serv
                //With empty locations link
                if (empty($parameters['locations_link'])) {
                        //Set locations link
-                       $parameters['locations_link'] = $this->router->generate('rapsys_air_location');
+                       $parameters['locations_link'] = $this->router->generate('rapsysair_location');
                }
 
                //With empty locations title
@@ -536,12 +536,12 @@ abstract class AbstractController extends BaseAbstractController implements Serv
                        'doctrine.orm.default_entity_manager' => EntityManagerInterface::class,
                        'form.factory' => FormFactoryInterface::class,
                        'mailer.mailer' => MailerInterface::class,
-                       'rapsys_air.facebook_util' => FacebookUtil::class,
-                       'rapsys_pack.image_util' => ImageUtil::class,
-                       'rapsys_pack.map_util' => MapUtil::class,
-                       'rapsys_pack.path_package' => PackageInterface::class,
-                       'rapsys_pack.slugger_util' => SluggerUtil::class,
-                       'rapsys_user.access_decision_manager' => AccessDecisionManagerInterface::class,
+                       'rapsysair.facebook_util' => FacebookUtil::class,
+                       'rapsyspack.image_util' => ImageUtil::class,
+                       'rapsyspack.map_util' => MapUtil::class,
+                       'rapsyspack.path_package' => PackageInterface::class,
+                       'rapsyspack.slugger_util' => SluggerUtil::class,
+                       'rapsysuser.access_decision_manager' => AccessDecisionManagerInterface::class,
                        'request_stack' => RequestStack::class,
                        'router' => RouterInterface::class,
                        'security.authorization_checker' => AuthorizationCheckerInterface::class,