Skip to content

Commit

Permalink
Ajax for all forms
Browse files Browse the repository at this point in the history
  • Loading branch information
pepakriz committed Sep 20, 2014
1 parent 12ff2a9 commit 2cd1d03
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Security/DI/SecurityExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -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')));
}

/**
Expand Down

0 comments on commit 2cd1d03

Please sign in to comment.