Permalink
Browse files

Fixing eg. code in doc block

  • Loading branch information...
1 parent 30268f6 commit 863094da586cb2e3de522198b76aeaced95ca6e4 @ADmad ADmad committed Apr 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Routing/Router.php
@@ -320,7 +320,7 @@ public static function connect($route, $defaults = array(), $options = array())
*
* 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.

0 comments on commit 863094d

Please sign in to comment.