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

Update the_model.rst #584

Merged
merged 1 commit into from
Oct 9, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion quick_tour/the_model.rst
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ it as its parent::
// get root document (/cms/simple)
$simpleCmsRoot = $documentManager->find(null, '/cms/simple');

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

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