From 2cd1d034c63e6f4472faa5a3e2db225e7c9a428d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20K=C5=99=C3=AD=C5=BE?= Date: Sat, 20 Sep 2014 14:27:23 +0200 Subject: [PATCH] Ajax for all forms --- src/Security/DI/SecurityExtension.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Security/DI/SecurityExtension.php b/src/Security/DI/SecurityExtension.php index 078ed7c3..7a35ebea 100755 --- a/src/Security/DI/SecurityExtension.php +++ b/src/Security/DI/SecurityExtension.php @@ -114,13 +114,13 @@ public function setupDefaultType(ContainerBuilder $container) )); $container->addDefinition($this->prefix('adminFormFactory')) - ->setClass('Venne\Security\DefaultType\AdminFormFactory', array(new Statement('@system.admin.basicFormFactory'))); + ->setClass('Venne\Security\DefaultType\AdminFormFactory', array(new Statement('@system.admin.ajaxFormFactory'))); $container->addDefinition($this->prefix('frontFormFactory')) - ->setClass('Venne\Security\DefaultType\FrontFormFactory', array(new Statement('@system.admin.basicFormFactory'))); + ->setClass('Venne\Security\DefaultType\FrontFormFactory', array(new Statement('@system.admin.ajaxFormFactory'))); $container->addDefinition($this->prefix('registrationFormFactory')) - ->setClass('Venne\Security\DefaultType\RegistrationFormFactory', array(new Statement('@system.admin.basicFormFactory'))); + ->setClass('Venne\Security\DefaultType\RegistrationFormFactory', array(new Statement('@system.admin.ajaxFormFactory'))); } /**