Skip to content

Commit 80529ef

Browse files
committed
Use the bridge in the router
1 parent b66e3e5 commit 80529ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DependencyInjection/Compiler/RouterCompilerPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ protected function prepare()
3232

3333
$def = $this->container->findDefinition('router');
3434
$def->setClass('Aequasi\Bundle\CacheBundle\Routing\Router');
35-
$def->addMethodCall('setCache', [new Reference('aequasi_cache.instance.' . $instance)]);
35+
$def->addMethodCall('setCache', [new Reference(sprintf('aequasi_cache.instance.%s.bridge', $instance))]);
3636
}
3737
}

0 commit comments

Comments
 (0)