Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / paste / controller / PhabricatorPasteListController.php
blob352aa78b1a3cb02f90f838ced8ecb9f99a00839f
1 <?php
3 final class PhabricatorPasteListController extends PhabricatorPasteController {
5 public function shouldAllowPublic() {
6 return true;
9 public function handleRequest(AphrontRequest $request) {
10 return id(new PhabricatorPasteSearchEngine())
11 ->setController($this)
12 ->buildResponse();
15 protected function buildApplicationCrumbs() {
16 $crumbs = parent::buildApplicationCrumbs();
18 id(new PhabricatorPasteEditEngine())
19 ->setViewer($this->getViewer())
20 ->addActionToCrumbs($crumbs);
22 return $crumbs;