瀏覽代碼

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');
         }
     }