diff --git a/lib/Cake/Routing/Router.php b/lib/Cake/Routing/Router.php index 3f05e5cbe..12360e395 100644 --- a/lib/Cake/Routing/Router.php +++ b/lib/Cake/Routing/Router.php @@ -348,7 +348,7 @@ class Router { * * Examples: * - * `Router::redirect('/home/*', array('controller' => 'posts', 'action' => 'view', array('persist' => true)));` + * `Router::redirect('/home/*', array('controller' => 'posts', 'action' => 'view'), array('persist' => true));` * * Redirects /home/* to /posts/view and passes the parameters to /posts/view. Using an array as the * redirect destination allows you to use other routes to define where a url string should be redirected to.