mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-10 23:01:04 +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,
|
$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,
|
|
||||||
));
|
));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue