Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / feed / controller / PhabricatorFeedListController.php
blob2acc06689ec1ed21a8cf6ed5772f9e2f66564b18
1 <?php
3 final class PhabricatorFeedListController
4 extends PhabricatorFeedController {
6 public function shouldAllowPublic() {
7 return true;
10 public function handleRequest(AphrontRequest $request) {
11 $navigation = array();
13 $navigation[] = id(new PHUIListItemView())
14 ->setType(PHUIListItemView::TYPE_LABEL)
15 ->setName(pht('Transactions'));
17 $navigation[] = id(new PHUIListItemView())
18 ->setName(pht('Transaction Logs'))
19 ->setHref($this->getApplicationURI('transactions/'));
21 return id(new PhabricatorFeedSearchEngine())
22 ->setController($this)
23 ->setNavigationItems($navigation)
24 ->buildResponse();