Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / applications / almanac / controller / AlmanacDeviceListController.php
blob6ab486ee8e68fda9a95833dcbca3c170e4178a21
1 <?php
3 final class AlmanacDeviceListController
4 extends AlmanacDeviceController {
6 public function shouldAllowPublic() {
7 return true;
10 public function handleRequest(AphrontRequest $request) {
11 return id(new AlmanacDeviceSearchEngine())
12 ->setController($this)
13 ->buildResponse();
16 protected function buildApplicationCrumbs() {
17 $crumbs = parent::buildApplicationCrumbs();
19 id(new AlmanacDeviceEditEngine())
20 ->setViewer($this->getViewer())
21 ->addActionToCrumbs($crumbs);
23 return $crumbs;