diff --git a/cookbook/routing/redirect_in_config.rst b/cookbook/routing/redirect_in_config.rst index 56b929717b9..6eee8fcfd28 100644 --- a/cookbook/routing/redirect_in_config.rst +++ b/cookbook/routing/redirect_in_config.rst @@ -36,7 +36,7 @@ action to redirect to this new url: root: path: / defaults: - _controller: FrameworkBundle:Redirect:urlRedirect + _controller: 'FrameworkBundle:Redirect:urlRedirect' path: /app permanent: true @@ -112,7 +112,7 @@ action: root: path: /wp-admin defaults: - _controller: FrameworkBundle:Redirect:redirect + _controller: 'FrameworkBundle:Redirect:redirect' route: sonata_admin_dashboard permanent: true