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