Commit 7bfdc98b authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Mise dans les invokables de l'aide de vue 'appConnection'.

parent fe55d55d
......@@ -128,9 +128,6 @@ class Module implements ConfigProviderInterface, ViewHelperProviderInterface, Se
{
return array(
'factories' => array(
'appConnection' => function (HelperPluginManager $sm) {
return new View\Helper\AppConnection();
},
'userConnection' => function (HelperPluginManager $sm) {
return new View\Helper\UserConnection($sm->getServiceLocator()->get('zfcuser_auth_service'));
},
......@@ -151,6 +148,9 @@ class Module implements ConfigProviderInterface, ViewHelperProviderInterface, Se
return $helper;
},
),
'invokables' => array(
'appConnection' => 'UnicaenAuth\View\Helper\AppConnection',
),
);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment