Browse Source

Added ->send() to redirect phpdoc example

tags/2.0.0-beta
Alexander Makarov 11 years ago
parent
commit
45778a4bd7
  1. 2
      framework/yii/web/Response.php

2
framework/yii/web/Response.php

@ -581,7 +581,7 @@ class Response extends \yii\base\Response
* In a controller action you may use this method like this:
*
* ~~~
* return Yii::$app->getResponse()->redirect($url);
* return Yii::$app->getResponse()->redirect($url)->send();
* ~~~
*
* @param string|array $url the URL to be redirected to. This can be in one of the following formats:

Loading…
Cancel
Save