Skip to content

Commit

Permalink
Merge pull request #9185 from dragosprotung/controller_tag
Browse files Browse the repository at this point in the history
[ResourceBundle] Add the controller tag
  • Loading branch information
pamil committed Mar 9, 2018
2 parents 925c736 + 0abe032 commit ff17823
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
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 ff17823

Please sign in to comment.