소스 검색

[Routing] Updating changed method name after method name refactoring.

Ryan Weaver 14 년 전
부모
커밋
f0ee10112e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Symfony/Component/Routing/Loader/AnnotationClassLoader.php

+ 1 - 1
src/Symfony/Component/Routing/Loader/AnnotationClassLoader.php

@@ -121,7 +121,7 @@ abstract class AnnotationClassLoader implements LoaderInterface
                 $options = array_merge($globals['options'], $annot->getOptions());
 
                 $route = new Route($globals['pattern'].$annot->getPattern(), $defaults, $requirements, $options);
-                $collection->addRoute($annot->getName(), $route);
+                $collection->add($annot->getName(), $route);
             }
         }