Explorar el Código

Update routing.rst

Changed $collection->add('myCustomAction'); to $collection->add('myCustom'); #Action gets added automaticly
NoScopie hace 11 años
padre
commit
9a39ba3f11
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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');
         }
     }