Update PhrictionDocument to newPage
Summary: Little straggler here, updates to `newPage` Test Plan: Review a document, no visibile changes Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D15580
This commit is contained in:
@@ -230,16 +230,14 @@ final class PhrictionDocumentController
|
|||||||
$core_content,
|
$core_content,
|
||||||
));
|
));
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->newPage()
|
||||||
array(
|
->setTitle($page_title)
|
||||||
$crumbs->render(),
|
->setCrumbs($crumbs)
|
||||||
|
->setPageObjectPHIDs(array($document->getPHID()))
|
||||||
|
->appendChild(array(
|
||||||
$page_content,
|
$page_content,
|
||||||
$prop_list,
|
$prop_list,
|
||||||
$children,
|
$children,
|
||||||
),
|
|
||||||
array(
|
|
||||||
'pageObjects' => array($document->getPHID()),
|
|
||||||
'title' => $page_title,
|
|
||||||
));
|
));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user