소스 검색

Merge pull request #1946 from NoScopie/patch-2

Update routing.rst
Thomas 11 년 전
부모
커밋
29a13b723b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Resources/doc/reference/routing.rst

+ 1 - 1
Resources/doc/reference/routing.rst

@@ -102,7 +102,7 @@ explicitly this defaults to the action name.
     {
         protected function configureRoutes(RouteCollection $collection)
         {
-            $collection->add('myCustomAction');
+            $collection->add('myCustom'); #Action gets added automaticly
             $collection->add('view', $this->getRouterIdParameter().'/view');
         }
     }