From 90eee9a7c9393a2502dce90434c9a4532e42f70c Mon Sep 17 00:00:00 2001 From: bfday Date: Wed, 30 Dec 2015 12:18:50 +0500 Subject: [PATCH] Fixes #10504: typo in docs --- docs/guide/rest-controllers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/rest-controllers.md b/docs/guide/rest-controllers.md index 98b2ada546..e0666cbdac 100644 --- a/docs/guide/rest-controllers.md +++ b/docs/guide/rest-controllers.md @@ -79,7 +79,7 @@ public function behaviors() ## Extending `ActiveController` If your controller class extends from [[yii\rest\ActiveController]], you should set -its [[yii\rest\ActiveController::modelClass||modelClass]] property to be the name of the resource class +its [[yii\rest\ActiveController::modelClass|modelClass]] property to be the name of the resource class that you plan to serve through this controller. The class must extend from [[yii\db\ActiveRecord]].