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]].