Skip to content

Commit

Permalink
TIP-890: TIP-860: fix bundle order in AppKernel to prevent errors on API
Browse files Browse the repository at this point in the history
  • Loading branch information
jjanvier committed Oct 22, 2018
1 parent bce06a9 commit 0357bff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/AppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ protected function getPimBundles()
protected function getPimDependenciesBundles()
{
return [
new Akeneo\Tool\Bundle\ApiBundle\PimApiBundle(),
new Akeneo\Tool\Bundle\ConnectorBundle\PimConnectorBundle(),
new Akeneo\Tool\Bundle\ClassificationBundle\AkeneoClassificationBundle(),
new Akeneo\Tool\Bundle\VersioningBundle\AkeneoVersioningBundle(),
Expand All @@ -116,6 +115,8 @@ protected function getPimDependenciesBundles()
new Akeneo\Tool\Bundle\StorageUtilsBundle\AkeneoStorageUtilsBundle(),
new Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle(),
new FOS\OAuthServerBundle\FOSOAuthServerBundle(),
// PimApiBundle must be registered after FOSOAuthServerBundle
new Akeneo\Tool\Bundle\ApiBundle\PimApiBundle(),
new Oneup\FlysystemBundle\OneupFlysystemBundle(),
];
}
Expand Down

0 comments on commit 0357bff

Please sign in to comment.