From 547350c951c9f4b916cdbb775956f2d4dd066c8b Mon Sep 17 00:00:00 2001 From: Fran Moreno Date: Sat, 9 Mar 2013 14:56:26 +0100 Subject: [PATCH] [FrameworkBundle] Fix code status in dockblock --- .../FrameworkBundle/Controller/RedirectController.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Symfony/Bundle/FrameworkBundle/Controller/RedirectController.php b/src/Symfony/Bundle/FrameworkBundle/Controller/RedirectController.php index 513d4de3f59c..1471df83bcef 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Controller/RedirectController.php +++ b/src/Symfony/Bundle/FrameworkBundle/Controller/RedirectController.php @@ -25,8 +25,8 @@ class RedirectController extends ContainerAware /** * Redirects to another route with the given name. * - * The response status code is 301 if the permanent parameter is false (default), - * and 302 if the redirection is permanent. + * The response status code is 302 if the permanent parameter is false (default), + * and 301 if the redirection is permanent. * * In case the route name is empty, the status code will be 404 when permanent is false * and 410 otherwise. @@ -51,8 +51,8 @@ public function redirectAction($route, $permanent = false) /** * Redirects to a URL. * - * The response status code is 301 if the permanent parameter is false (default), - * and 302 if the redirection is permanent. + * The response status code is 302 if the permanent parameter is false (default), + * and 301 if the redirection is permanent. * * In case the path is empty, the status code will be 404 when permanent is false * and 410 otherwise.