Skip to content

Commit 97f343e

Browse files
authored
Update articles-model.rst
sorry, the bake does create the `tags` field. Updated to reflect what bake actually creates using the cake 5 tutorial.
1 parent 90c27c8 commit 97f343e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,15 @@ 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,
70+
'tags' => true,
6871
];
6972
}
7073

0 commit comments

Comments
 (0)