diff --git a/src/Bundle/ChillThirdPartyBundle/DependencyInjection/ChillThirdPartyExtension.php b/src/Bundle/ChillThirdPartyBundle/DependencyInjection/ChillThirdPartyExtension.php index 0331e007d..9b23222c6 100644 --- a/src/Bundle/ChillThirdPartyBundle/DependencyInjection/ChillThirdPartyExtension.php +++ b/src/Bundle/ChillThirdPartyBundle/DependencyInjection/ChillThirdPartyExtension.php @@ -44,7 +44,7 @@ class ChillThirdPartyExtension extends Extension implements PrependExtensionInte $this->preprendRoutes($container); $this->prependRoleHierarchy($container); } - + protected function preprendRoutes(ContainerBuilder $container) { //declare routes for 3party bundle @@ -60,7 +60,7 @@ class ChillThirdPartyExtension extends Extension implements PrependExtensionInte 'name' => 'thirdparty', 'base_path' => '/api/1.0/thirdparty/thirdparty', 'base_role' => \Chill\ThirdPartyBundle\Security\Authorization\ThirdPartyVoter::class, - 'controller' => \Chill\ThirdPartyBundle\Controller\ThirdPartyApiController::class, + //'controller' => \Chill\ThirdPartyBundle\Controller\ThirdPartyApiController::class, 'actions' => [ '_index' => [ 'methods' => [ @@ -87,7 +87,7 @@ class ChillThirdPartyExtension extends Extension implements PrependExtensionInte ], )); } - + protected function prependRoleHierarchy(ContainerBuilder $container) { $container->prependExtensionConfig('security', array(