Prechádzať zdrojové kódy

[FrameworkBundle] fixed router:apache-dump command

Fabien Potencier 14 rokov pred
rodič
commit
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')) {