Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / packages / controller / PhabricatorPackagesPackageListController.php
blob5b29ab83f6ca8ddc9c146d8e1069d66afd34b55e
1 <?php
3 final class PhabricatorPackagesPackageListController
4 extends PhabricatorPackagesPackageController {
6 public function shouldAllowPublic() {
7 return true;
10 public function handleRequest(AphrontRequest $request) {
11 return id(new PhabricatorPackagesPackageSearchEngine())
12 ->setController($this)
13 ->buildResponse();
16 protected function buildApplicationCrumbs() {
17 $crumbs = parent::buildApplicationCrumbs();
19 id(new PhabricatorPackagesPackageEditEngine())
20 ->setViewer($this->getViewer())
21 ->addActionToCrumbs($crumbs);
23 return $crumbs;