Skip to content

Commit d97413f

Browse files
authored
Merge pull request #7911 from yosus/patch-13
Update articles-model.rst
2 parents 78e840c + 97f343e commit d97413f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

en/tutorials-and-examples/cms/articles-model.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,14 @@ look like this::
5959
class Article extends Entity
6060
{
6161
protected array $_accessible = [
62+
'user_id' => true,
6263
'title' => true,
64+
'slug' => true,
6365
'body' => true,
6466
'published' => true,
6567
'created' => true,
6668
'modified' => true,
67-
'users' => true,
69+
'user' => true,
6870
'tags' => true,
6971
];
7072
}

0 commit comments

Comments
 (0)