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,
|
||||
));
|
||||
|
||||
return $this->buildApplicationPage(
|
||||
array(
|
||||
$crumbs->render(),
|
||||
return $this->newPage()
|
||||
->setTitle($page_title)
|
||||
->setCrumbs($crumbs)
|
||||
->setPageObjectPHIDs(array($document->getPHID()))
|
||||
->appendChild(array(
|
||||
$page_content,
|
||||
$prop_list,
|
||||
$children,
|
||||
),
|
||||
array(
|
||||
'pageObjects' => array($document->getPHID()),
|
||||
'title' => $page_title,
|
||||
));
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user