mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 05:50:55 +01:00
Update PhortuneProviderAction to newPage
Summary: Updates to `newPage` Test Plan: Unsure what specifically to test? Couldn't find where it's called. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D15600
This commit is contained in:
parent
e61e426108
commit
49e5763cd0
1 changed files with 6 additions and 5 deletions
|
@ -39,11 +39,12 @@ final class PhortuneProviderActionController
|
|||
return $response;
|
||||
}
|
||||
|
||||
return $this->buildApplicationPage(
|
||||
$response,
|
||||
array(
|
||||
'title' => pht('Phortune'),
|
||||
));
|
||||
$title = pht('Phortune');
|
||||
|
||||
return $this->newPage()
|
||||
->setTitle($title)
|
||||
->appendChild($response);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue