1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-20 04:20:55 +01:00

Update UIExamples for newPage

Summary: clever commit summary

Test Plan: clever test plan

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D15583
This commit is contained in:
Chad Little 2016-04-02 13:10:45 -07:00
parent 7a1d2087d4
commit fd94e07aad

View file

@ -50,11 +50,9 @@ final class PhabricatorUIExampleRenderController extends PhabricatorController {
$result,
));
return $this->buildApplicationPage(
$nav,
array(
'title' => $example->getName(),
));
return $this->newPage()
->setTitle($example->getName())
->appendChild($nav);
}
}