Просмотр исходного кода

[FrameworkBundle] fixed router:apache-dump command

Fabien Potencier 14 лет назад
Родитель
Сommit
4e877a84ad
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/Symfony/Bundle/FrameworkBundle/Command/RouterApacheDumperCommand.php

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

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