diff --git a/cookbook/routing/redirect_in_config.rst b/cookbook/routing/redirect_in_config.rst index 4d6b7004e6e..353c75c89c8 100644 --- a/cookbook/routing/redirect_in_config.rst +++ b/cookbook/routing/redirect_in_config.rst @@ -23,7 +23,7 @@ Your configuration will look like this: path: / defaults: _controller: FrameworkBundle:Redirect:urlRedirect - path: /app + route: /app permanent: true In this example, you configure a route for the ``/`` path and let :class:`Symfony\\Bundle\\FrameworkBundle\\Controller\\RedirectController`