diff --git a/docs/guide-zh-CN/README.md b/docs/guide-zh-CN/README.md index 4543823db5..cf450d88b8 100644 --- a/docs/guide-zh-CN/README.md +++ b/docs/guide-zh-CN/README.md @@ -126,7 +126,7 @@ Yii 2.0 权威指南 * [概述(Overview)](caching-overview.md) * [数据缓存(Data Caching)](caching-data.md) * [片段缓存(Fragment Caching)](caching-fragment.md) -* [分页缓存(Page Caching)](caching-page.md) +* [页面缓存(Page Caching)](caching-page.md) * [HTTP 缓存(HTTP Caching)](caching-http.md) diff --git a/docs/guide-zh-CN/rest-controllers.md b/docs/guide-zh-CN/rest-controllers.md index 62cf8cea89..f3968c6218 100644 --- a/docs/guide-zh-CN/rest-controllers.md +++ b/docs/guide-zh-CN/rest-controllers.md @@ -120,14 +120,14 @@ public function behaviors() ### 自定义动作 -[[yii\rest\ActiveController]] 默认提供一下动作: +[[yii\rest\ActiveController]] 默认提供一下动作: -* [[yii\rest\IndexAction|index]]: 按页列出资源; -* [[yii\rest\ViewAction|view]]: 返回指定资源的详情; -* [[yii\rest\CreateAction|create]]: 创建新的资源; -* [[yii\rest\UpdateAction|update]]: 更新一个存在的资源; -* [[yii\rest\DeleteAction|delete]]: 删除指定的资源; -* [[yii\rest\OptionsAction|options]]: 返回支持的HTTP方法. +* [[yii\rest\IndexAction|index]]:按页列出资源; +* [[yii\rest\ViewAction|view]]:返回指定资源的详情; +* [[yii\rest\CreateAction|create]]:创建新的资源; +* [[yii\rest\UpdateAction|update]]:更新一个存在的资源; +* [[yii\rest\DeleteAction|delete]]:删除指定的资源; +* [[yii\rest\OptionsAction|options]]:返回支持的HTTP方法. 所有这些动作通过[[yii\rest\ActiveController::actions()|actions()]] 方法申明,可覆盖`actions()`方法配置或禁用这些动作, 如下所示: