Replace request with response in code example

This commit is contained in:
Alexander Kozhevnikov
2013-12-09 14:51:45 +03:00
parent 5a046230fd
commit 41d24ee903

View File

@ -542,7 +542,7 @@ class Response extends \yii\base\Response
* **Example**
*
* ~~~
* Yii::$app->request->xSendFile('/home/user/Pictures/picture1.jpg');
* Yii::$app->response->xSendFile('/home/user/Pictures/picture1.jpg');
* ~~~
*
* @param string $filePath file name with full path