1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-01 18:30:59 +01:00

Update Tokens for newPage

Summary: Minor, moves to `newPage`

Test Plan: Test both pages, still work

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D15582
This commit is contained in:
Chad Little 2016-04-02 13:08:05 -07:00
parent 64e117f1a5
commit 7a1d2087d4
2 changed files with 8 additions and 11 deletions

View file

@ -71,12 +71,10 @@ final class PhabricatorTokenGivenController extends PhabricatorTokenController {
$nav->appendChild($box);
$nav->appendChild($pager);
return $this->buildApplicationPage(
$nav,
array(
'title' => $title,
));
return $this->newPage()
->setTitle($title)
->appendChild($nav);
}
}

View file

@ -55,11 +55,10 @@ final class PhabricatorTokenLeaderController
$nav->appendChild($box);
$nav->appendChild($pager);
return $this->buildApplicationPage(
$nav,
array(
'title' => $title,
));
return $this->newPage()
->setTitle($title)
->appendChild($nav);
}
}