Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 3f7274c

Browse files
committed
Merge pull request #584 from BertvanHoekelen/patch-1
Update the_model.rst
2 parents f6a8254 + 4f257cf commit 3f7274c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

quick_tour/the_model.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ it as its parent::
135135
// get root document (/cms/simple)
136136
$simpleCmsRoot = $documentManager->find(null, '/cms/simple');
137137

138-
$page->setParent($simpleCmsRoot); // set the parent to the root
138+
$page->setParentDocument($simpleCmsRoot); // set the parent to the root
139139
}
140140

141141
And at last, we have to tell the Document Manager to persist our Page

0 commit comments

Comments
 (0)