diff --git a/cookbook/routing/redirect_in_config.rst b/cookbook/routing/redirect_in_config.rst index 4d6b7004e6e..facabc1d0ab 100644 --- a/cookbook/routing/redirect_in_config.rst +++ b/cookbook/routing/redirect_in_config.rst @@ -22,7 +22,7 @@ Your configuration will look like this: root: path: / defaults: - _controller: FrameworkBundle:Redirect:urlRedirect + _controller: FrameworkBundle:Redirect:redirect path: /app permanent: true