Explorar o código

[FrameworkBundle] fixed router:apache-dump command

Fabien Potencier %!s(int64=14) %!d(string=hai) anos
pai
achega
4e877a84ad

+ 1 - 1
src/Symfony/Bundle/FrameworkBundle/Command/RouterApacheDumperCommand.php

@@ -52,7 +52,7 @@ EOF
      */
     protected function execute(InputInterface $input, OutputInterface $output)
     {
-        $router = $this->container->get('router');
+        $router = $this->container->get('router.real');
 
         $dumpOptions = array();
         if ($input->getArgument('script_name')) {