From 4ce42d9f461968e57d152c66442a0bc6b4a920b8 Mon Sep 17 00:00:00 2001 From: Jerry Cheung Date: Wed, 7 Feb 2018 08:18:22 +0000 Subject: [PATCH] Correction of the spelling of a word MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改文档内goodbye单词的拼写错误 --- docs/guide-zh-CN/start-hello.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide-zh-CN/start-hello.md b/docs/guide-zh-CN/start-hello.md index a9f5a1f..a8fefaf 100644 --- a/docs/guide-zh-CN/start-hello.md +++ b/docs/guide-zh-CN/start-hello.md @@ -62,7 +62,7 @@ Yii 使用 `action` 前缀区分普通方法和操作。 它的默认值是 `“Hello”`(就像你设置 PHP 中其它函数或方法的默认值一样)。 当应用接收到请求并确定由 `say` 操作来响应请求时,应用将从请求的参数中寻找对应值传入进来。 换句话说,如果请求包含一个 `message` 参数, -它的值是 `“Goodybye”`, 操作方法中的 `$message` 变量也将被填充为 `“Goodbye”`。 +它的值是 `“Goodbye”`, 操作方法中的 `$message` 变量也将被填充为 `“Goodbye”`。 在操作方法中,[[yii\web\Controller::render()|render()]] 被用来渲染一个 名为 `say` 的[视图](structure-views.md)文件。