Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / applications / almanac / controller / AlmanacDeviceController.php
blob442a0797e3e7247f88b8aaf2a0aeceabdc147339
1 <?php
3 abstract class AlmanacDeviceController extends AlmanacController {
5 public function buildApplicationMenu() {
6 return $this->newApplicationMenu()
7 ->setSearchEngine(new AlmanacDeviceSearchEngine());
10 protected function buildApplicationCrumbs() {
11 $crumbs = parent::buildApplicationCrumbs();
13 $list_uri = $this->getApplicationURI('device/');
14 $crumbs->addTextCrumb(pht('Devices'), $list_uri);
16 return $crumbs;