Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/src/applications/macro/controller/PhabricatorMacroListController.php
12241 views
1
<?php
2
3
final class PhabricatorMacroListController extends PhabricatorMacroController {
4
5
public function shouldAllowPublic() {
6
return true;
7
}
8
9
public function handleRequest(AphrontRequest $request) {
10
$key = $request->getURIData('key');
11
12
$controller = id(new PhabricatorApplicationSearchController())
13
->setQueryKey($key)
14
->setSearchEngine(new PhabricatorMacroSearchEngine())
15
->setNavigation($this->buildSideNavView());
16
17
return $this->delegateToController($controller);
18
}
19
20
}
21
22