Skip to content

Commit 1048eee

Browse files
committed
-
1 parent bad57de commit 1048eee

File tree

3 files changed

+1
-57
lines changed

3 files changed

+1
-57
lines changed

config/services.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@
319319
->arg(1, new Reference(AuthorizationChecker::class))
320320
->arg(2, new Reference(AdminUrlGenerator::class))
321321
->arg(3, new Reference('security.csrf.token_manager', ContainerInterface::NULL_ON_INVALID_REFERENCE))
322+
->arg(4, tagged_iterator(EasyAdminExtension::TAG_ACTIONS_EXTENSION))
322323

323324
->set(SecurityVoter::class)
324325
->arg(0, service(AuthorizationChecker::class))

src/DependencyInjection/Compiler/ActionsExtensionPass.php

Lines changed: 0 additions & 55 deletions
This file was deleted.

src/EasyAdminBundle.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace EasyCorp\Bundle\EasyAdminBundle;
44

5-
use EasyCorp\Bundle\EasyAdminBundle\DependencyInjection\Compiler\ActionsExtensionPass;
65
use EasyCorp\Bundle\EasyAdminBundle\DependencyInjection\CreateControllerRegistriesPass;
76
use Symfony\Component\DependencyInjection\ContainerBuilder;
87
use Symfony\Component\HttpKernel\Bundle\Bundle;
@@ -17,7 +16,6 @@ class EasyAdminBundle extends Bundle
1716
public function build(ContainerBuilder $container): void
1817
{
1918
$container->addCompilerPass(new CreateControllerRegistriesPass());
20-
$container->addCompilerPass(new ActionsExtensionPass());
2119
}
2220

2321
public function getPath(): string

0 commit comments

Comments
 (0)