Skip to content

Commit

Permalink
Add the controller tag
Browse files Browse the repository at this point in the history
  • Loading branch information
dragosprotung committed Feb 26, 2018
1 parent 933eb0f commit 74df630
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,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 74df630

Please sign in to comment.