Merge branch 'romainneutron-fix-1640' into 3.8

This commit is contained in:
Nicolas Le Goff
2013-12-26 16:36:15 +01:00

View File

@@ -49,6 +49,7 @@ class SearchEngineServiceProvider implements ServiceProviderInterface
public function boot(Application $app)
{
if ($app['phraseanet.configuration']->isSetup()) {
$app['dispatcher'] = $app->share(
$app->extend('dispatcher', function ($dispatcher, Application $app) {
$dispatcher->addSubscriber($app['phraseanet.SE.subscriber']);
@@ -58,3 +59,4 @@ class SearchEngineServiceProvider implements ServiceProviderInterface
);
}
}
}