Skip to content

Commit

Permalink
Fixed service name
Browse files Browse the repository at this point in the history
  • Loading branch information
aschempp committed Jul 9, 2020
1 parent 629300e commit bb76ae6
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -52,7 +52,7 @@ public function process(ContainerBuilder $container): void
*/
protected function registerPages(ContainerBuilder $container): void
{
$registry = $container->findDefinition('contao.routing.page_registry');
$registry = $container->findDefinition(PageRegistry::class);
$candidates = $container->findDefinition('contao.routing.candidates');

foreach ($this->findAndSortTaggedServices(self::TAG_NAME, $container) as $reference) {
Expand Down

0 comments on commit bb76ae6

Please sign in to comment.