From a48149b4db42a37cc1e4d842f07c3ea5cee5e402 Mon Sep 17 00:00:00 2001 From: Saleh Souzanchi Date: Mon, 29 Apr 2013 06:06:22 +0430 Subject: [PATCH] update doc of Router::redirect --- lib/Cake/Routing/Router.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.