Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / applications / diffusion / controller / DiffusionCommitListController.php
blobb8c008c4d6206c12d54c195b272b5907e8ff764b
1 <?php
3 final class DiffusionCommitListController
4 extends DiffusionController {
6 public function shouldAllowPublic() {
7 return true;
10 public function handleRequest(AphrontRequest $request) {
11 return id(new PhabricatorCommitSearchEngine())
12 ->setController($this)
13 ->buildResponse();
16 protected function buildApplicationCrumbs() {
17 $crumbs = parent::buildApplicationCrumbs();
19 $crumbs->addTextCrumb(
20 pht('Commits'),
21 $this->getApplicationURI('commit/'));
23 return $crumbs;