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:
parent
18e9e793c3
commit
891661fbe7
1 changed files with 5 additions and 7 deletions
|
@ -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,
|
||||
));
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue