Commit b5981250 by Qiang Xue

reverted doc change: the original one is correct.

parent d3db0b1c
...@@ -581,7 +581,7 @@ class Response extends \yii\base\Response ...@@ -581,7 +581,7 @@ class Response extends \yii\base\Response
* In a controller action you may use this method like this: * In a controller action you may use this method like this:
* *
* ~~~ * ~~~
* return Yii::$app->getResponse()->redirect($url)->send(); * return Yii::$app->getResponse()->redirect($url);
* ~~~ * ~~~
* *
* @param string|array $url the URL to be redirected to. This can be in one of the following formats: * @param string|array $url the URL to be redirected to. This can be in one of the following formats:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment