@@ -239,8 +239,8 @@ All routes are located under a configured root path, for example
239239 $route->setParentDocument($dm->find(null, '/cms/routes'));
240240 $route->setName('projects');
241241
242- // set explicit controller (both service and Bundle:Name:action syntax work)
243- $route->setDefault('_controller', 'app.controller:specialAction');
242+ // set explicit controller
243+ $route->setDefault('_controller', 'app.controller:: specialAction');
244244
245245The above example should probably be done as a route configured in a Symfony
246246configuration file, unless the end user is supposed to change the URL
@@ -666,7 +666,7 @@ documents. You need to configure the route enhancer for this interface:
666666 cmf_routing :
667667 dynamic :
668668 controllers_by_class :
669- Symfony\Cmf\Component\Routing\RedirectRouteInterface : cmf_routing.redirect_controller:redirectAction
669+ Symfony\Cmf\Component\Routing\RedirectRouteInterface : cmf_routing.redirect_controller:: redirectAction
670670
671671 .. code-block :: xml
672672
@@ -676,7 +676,7 @@ documents. You need to configure the route enhancer for this interface:
676676 <config xmlns =" http://cmf.symfony.com/schema/dic/routing" >
677677 <dynamic >
678678 <controller-by-class class =" Symfony\Cmf\Component\Routing\RedirectRouteInterface" >
679- cmf_routing.redirect_controller:redirectAction
679+ cmf_routing.redirect_controller:: redirectAction
680680 </controller-by-class >
681681 </dynamic >
682682 </config >
@@ -690,7 +690,7 @@ documents. You need to configure the route enhancer for this interface:
690690 $container->loadFromExtension('cmf_routing', [
691691 'dynamic' => [
692692 'controllers_by_class' => [
693- RedirectRouteInterface::class => 'cmf_routing.redirect_controller:redirectAction',
693+ RedirectRouteInterface::class => 'cmf_routing.redirect_controller:: redirectAction',
694694 ],
695695 ],
696696 ]);
0 commit comments