Skip to content

Commit

Permalink
Add the controller tag
Browse files Browse the repository at this point in the history
  • Loading branch information
dragosprotung authored and pamil committed Mar 9, 2018
1 parent 925c736 commit 0abe032
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -91,6 +91,7 @@ protected function addController(ContainerBuilder $container, MetadataInterface
new Reference('sylius.resource_controller.resource_delete_handler'),
])
->addMethodCall('setContainer', [new Reference('service_container')])
->addTag('controller.service_arguments')
;

$container->setDefinition($metadata->getServiceId('controller'), $definition);
Expand Down

0 comments on commit 0abe032

Please sign in to comment.