mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixing eg. code in doc block
This commit is contained in:
parent
30268f6a08
commit
863094da58
1 changed files with 1 additions and 1 deletions
|
@ -320,7 +320,7 @@ class Router {
|
||||||
*
|
*
|
||||||
* Examples:
|
* 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
|
* 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.
|
* redirect destination allows you to use other routes to define where a url string should be redirected to.
|
||||||
|
|
Loading…
Reference in a new issue