Skip to content

Commit 9cde462

Browse files
author
Igor Chepurnoy
committed
update docs
1 parent 1942fc9 commit 9cde462

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ $model = Post::find()->where(['title' => 'some post title'])->one();
150150
<?php echo \yii2mod\comments\widgets\Comment::widget([
151151
'model' => $model,
152152
'relatedTo' => 'User ' . \Yii::$app->user->identity->username . ' commented on the page ' . \yii\helpers\Url::current(),
153-
'level' => 2,
153+
'maxLevel' => 2,
154154
// set `pageSize` with custom sorting
155155
'dataProviderConfig' => [
156156
'sort' => [

0 commit comments

Comments
 (0)