1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 00:42:41 +01:00

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:
Chad Little 2016-04-02 12:49:05 -07:00
parent 18e9e793c3
commit 891661fbe7

View file

@ -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,
));
}