Fixing eg. code in doc block

This commit is contained in:
ADmad 2012-04-07 00:28:59 +05:30
parent 30268f6a08
commit 863094da58

View file

@ -320,7 +320,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.